diff options
author | Guido Günther <agx@sigxcpu.org> | 2017-08-22 08:36:38 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2017-08-22 08:36:38 +0200 |
commit | 5d40d44107962531fea235cf68e71ccf7b886957 (patch) | |
tree | 9d1189bf60fe3970996f993fb7ff6779dfad3f8a /tests/13_test_gbp_pq.py | |
parent | f97b910ca2b149c862636b8e7dcf6211d2ad7f0e (diff) |
pq-rpm: Correctly pass abbrev to format-patch
broken by 75e18fc5bb4831df924bc708130b0a6ab311a230
Diffstat (limited to 'tests/13_test_gbp_pq.py')
-rw-r--r-- | tests/13_test_gbp_pq.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/13_test_gbp_pq.py b/tests/13_test_gbp_pq.py index c9594846..a6ebc6a2 100644 --- a/tests/13_test_gbp_pq.py +++ b/tests/13_test_gbp_pq.py @@ -149,6 +149,7 @@ class TestWritePatch(testutils.DebianGitTestRepo): patch_numbers = False renumber = False patch_num_format = '%04d-' + abbrev = 7 expected_patches = ['gbptest/added-foo.patch', 'gbptest/patchname.diff'] @@ -168,6 +169,7 @@ class TestWritePatch(testutils.DebianGitTestRepo): patch_numbers = True renumber = True patch_num_format = '%02d_' + abbrev = 7 expected_patches = ['gbptest/01_added-foo.patch', 'gbptest/02_patchname.diff'] @@ -187,6 +189,7 @@ class TestWritePatch(testutils.DebianGitTestRepo): patch_numbers = False renumber = True patch_num_format = '%02d_' + abbrev = 7 expected_patches = ['gbptest/added-foo.patch', 'gbptest/patchname.diff', @@ -218,6 +221,7 @@ class TestExport(testutils.DebianGitTestRepo): meta_closes_bugnum = '' pq_from = 'DEBIAN' commit = False + abbrev = 7 def setUp(self): testutils.DebianGitTestRepo.setUp(self) @@ -326,6 +330,7 @@ class TestFromTAG(testutils.DebianGitTestRepo): pq_from = 'TAG' renumber = False upstream_tag = 'upstream/%(version)s' + abbrev = 7 def git_create_empty_branch(self, branch): GitCommand('checkout', cwd=self.repo.path)(['-q', '--orphan', branch]) |