summaryrefslogtreecommitdiffstats
path: root/testsuite/Testsrc
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2014-10-15 12:46:51 -0700
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2014-11-10 17:35:43 -0600
commit0253cf4e340e5e81f8ac079b46dfdb19eda42926 (patch)
tree9b5a30aa2dcc05eddfea889c862478ba37fff9d7 /testsuite/Testsrc
parent1e6213e5fdff5f8146c00af8a76cb1ebf68fcac5 (diff)
downloadbcfg2-0253cf4e340e5e81f8ac079b46dfdb19eda42926.tar.gz
bcfg2-0253cf4e340e5e81f8ac079b46dfdb19eda42926.tar.bz2
bcfg2-0253cf4e340e5e81f8ac079b46dfdb19eda42926.zip
testsuite: capture stderr by default
This quiets down a lot of tests, especially for option parsing.
Diffstat (limited to 'testsuite/Testsrc')
-rw-r--r--testsuite/Testsrc/Testlib/TestOptions/__init__.py2
1 files changed, 2 insertions, 0 deletions
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()