aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/18_test_Config.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2015-03-26 16:47:20 +0100
committerGuido Günther <agx@sigxcpu.org>2015-03-27 12:16:31 +0100
commit0b98c48cbe28a01e325d4877ab76395db6548461 (patch)
tree892d1086ad44756abcea3ccaa031304d2800986c /tests/18_test_Config.py
parent8de3ae9567e821ad8432f67afd8756b35189ecba (diff)
gbplogtester: add helper to test for empty log
Diffstat (limited to 'tests/18_test_Config.py')
-rw-r--r--tests/18_test_Config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/18_test_Config.py b/tests/18_test_Config.py
index d3d94614..ea905ccd 100644
--- a/tests/18_test_Config.py
+++ b/tests/18_test_Config.py
@@ -38,8 +38,8 @@ class TestConfigParser(unittest.TestCase, GbpLogTester):
for prefix in [ '', 'git-', 'gbp-' ]:
parser = GbpOptionParser('%scmd1' % prefix)
self.assertEqual(parser.config['single_override_option1'], 'single_override_value1')
- # No deprecation warning since we test1.conf section is [cmd1]
- self.assertEqual(self._get_log(), [])
+ # No deprecation warning since the test1.conf section is [cmd1]
+ self._check_log_empty()
def test_single_git_override(self):
"""