diff options
author | Guido Günther <agx@sigxcpu.org> | 2015-01-29 10:04:27 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2015-02-08 16:15:03 +0100 |
commit | 64be54db7546e7399b5b758d3f25c507180180e1 (patch) | |
tree | cbde8aeb7e15be1c29daf877097035e5925b3f50 /tests/13_test_gbp_pq.py | |
parent | a6cf21deca04b965ed5d0f706e9e027146bf6512 (diff) |
pq: Generate new style Gbp-Pq: Topic <topic> entries
We shouldn't generate the deprecated ones
Diffstat (limited to 'tests/13_test_gbp_pq.py')
-rw-r--r-- | tests/13_test_gbp_pq.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/13_test_gbp_pq.py b/tests/13_test_gbp_pq.py index d88f7aed..c17b7151 100644 --- a/tests/13_test_gbp_pq.py +++ b/tests/13_test_gbp_pq.py @@ -47,7 +47,7 @@ class TestApplyAndCommit(testutils.DebianGitTestRepo): pq.apply_and_commit_patch(self.repo, patch, None, topic='foobar') info = self.repo.get_commit_info('HEAD') - self.assertIn('Gbp-Pq-Topic: foobar', info['body']) + self.assertIn('Gbp-Pq: Topic foobar', info['body']) @unittest.skipIf(not os.path.exists('/usr/bin/dpkg'), 'Dpkg not found') def test_debian_missing_author(self): @@ -111,7 +111,7 @@ class TestWritePatch(testutils.DebianGitTestRepo): # Add test file with topic: msg = ("added foo\n\n" - "Gbp-Pq-Topic: gbptest") + "Gbp-Pq: Topic gbptest") self.add_file('foo', 'foo', msg) # Write it out as patch and check it's existence |