From b1b7761120b2321449109e47b89bea85b8c90e35 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Thu, 26 Mar 2015 20:10:34 +0100 Subject: config test: fix missing prefix We want to test no prefix, 'gbp-' and 'git-'. --- tests/18_test_Config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/18_test_Config.py b/tests/18_test_Config.py index ea905cc..00d156f 100644 --- a/tests/18_test_Config.py +++ b/tests/18_test_Config.py @@ -28,7 +28,7 @@ class TestConfigParser(unittest.TestCase, GbpLogTester): """ for n in range(1,5): for prefix in [ '', 'git-', 'gbp-' ]: - parser = GbpOptionParser('cmd%d' % n) + parser = GbpOptionParser('%scmd%d' % (prefix, n)) self.assertEqual(parser.config['default_option'], 'default_default1') def test_single_override(self): -- cgit v1.2.3