From b2e3ea283dc586194bc017bc8a77a130c7fe13d9 Mon Sep 17 00:00:00 2001 From: nicolargo Date: Mon, 10 Nov 2025 07:48:03 +0100 Subject: [PATCH] Remove test because it breaks the CI test --- tests/test_core.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/test_core.py b/tests/test_core.py index c7321bb3..2082b307 100755 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -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