diff options
author | Guido Günther <agx@sigxcpu.org> | 2015-03-26 20:10:34 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2015-03-27 12:16:31 +0100 |
commit | b1b7761120b2321449109e47b89bea85b8c90e35 (patch) | |
tree | e5bbcdd2d9fe593cb5f75a3aef8069ffb5d7c00d /tests/18_test_Config.py | |
parent | 7ebf8438f526a51c3747907a3c93d0bfd1345b93 (diff) |
config test: fix missing prefix
We want to test no prefix, 'gbp-' and 'git-'.
Diffstat (limited to 'tests/18_test_Config.py')
-rw-r--r-- | tests/18_test_Config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/18_test_Config.py b/tests/18_test_Config.py index ea905ccd..00d156fe 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): |