From 0253cf4e340e5e81f8ac079b46dfdb19eda42926 Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Wed, 15 Oct 2014 12:46:51 -0700 Subject: testsuite: capture stderr by default This quiets down a lot of tests, especially for option parsing. --- testsuite/Testsrc/Testlib/TestOptions/__init__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'testsuite/Testsrc/Testlib') diff --git a/testsuite/Testsrc/Testlib/TestOptions/__init__.py b/testsuite/Testsrc/Testlib/TestOptions/__init__.py index 00e250356..688f4e54c 100644 --- a/testsuite/Testsrc/Testlib/TestOptions/__init__.py +++ b/testsuite/Testsrc/Testlib/TestOptions/__init__.py @@ -73,7 +73,9 @@ class OptionTestCase(Bcfg2TestCase): def setUpClass(cls): # ensure that the option parser actually reads config files Parser.unit_test = False + Bcfg2TestCase.setUpClass() @classmethod def tearDownClass(cls): Parser.unit_test = True + Bcfg2TestCase.tearDownClass() -- cgit v1.2.3-1-g7c22