diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/report_tests/options_tests/options_tests.py | 6 | ||||
-rw-r--r-- | tests/report_tests/options_tests/options_tests_sos.conf | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/report_tests/options_tests/options_tests.py b/tests/report_tests/options_tests/options_tests.py index f8e1ee60..997042ba 100644 --- a/tests/report_tests/options_tests/options_tests.py +++ b/tests/report_tests/options_tests/options_tests.py @@ -22,8 +22,8 @@ class OptionsFromConfigTest(StageTwoReportTest): def test_case_id_from_config(self): self.assertTrue('8675309' in self.archive) - def test_plugins_skipped_from_config(self): - self.assertPluginNotIncluded(['networking', 'logs']) + def test_plugins_only_from_config(self): + self.assertOnlyPluginsIncluded(['host', 'kernel']) def test_plugopts_logged_from_config(self): self.assertSosLogContains( @@ -41,5 +41,5 @@ class OptionsFromConfigTest(StageTwoReportTest): def test_effective_options_logged_correctly(self): self.assertSosLogContains( - "effective options now: --batch --case-id 8675309 --plugopts kernel.with-timer=on,kernel.trace=yes --skip-plugins networking,logs" + "effective options now: --batch --case-id 8675309 --only-plugins host,kernel --plugopts kernel.with-timer=on,kernel.trace=yes" ) diff --git a/tests/report_tests/options_tests/options_tests_sos.conf b/tests/report_tests/options_tests/options_tests_sos.conf index c0f641d9..fd92d700 100644 --- a/tests/report_tests/options_tests/options_tests_sos.conf +++ b/tests/report_tests/options_tests/options_tests_sos.conf @@ -2,7 +2,7 @@ #verbose = 3 [report] -skip-plugins = networking,logs +only-plugins = host,kernel case-id = 8675309 [collect] |