mirror of https://github.com/nicolargo/glances.git
Remove test because it breaks the CI test
This commit is contained in:
parent
a74b1867d7
commit
b2e3ea283d
|
|
@ -56,6 +56,8 @@ core = GlancesMain(args_begin_at=2)
|
|||
test_config = core.get_config()
|
||||
test_args = core.get_args()
|
||||
|
||||
test_args.conf_file = './conf/glances.conf'
|
||||
|
||||
# Init Glances stats
|
||||
stats = GlancesStats(config=test_config, args=test_args)
|
||||
|
||||
|
|
@ -75,6 +77,9 @@ class TestGlances(unittest.TestCase):
|
|||
"""Common method to test a Glances plugin
|
||||
This method is called multiple time by test 100 to 1xx"""
|
||||
|
||||
assert stats.args.conf_file == './conf/glances.conf', 'Configuration file not correctly set in stats'
|
||||
# But not take into account
|
||||
|
||||
# Reset all the stats, history and views
|
||||
plugin_instance = stats.get_plugin(plugin)
|
||||
plugin_instance.reset() # reset stats
|
||||
|
|
|
|||
Loading…
Reference in New Issue