aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/13_test_gbp_pq.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2015-03-27 11:36:25 +0100
committerGuido Günther <agx@sigxcpu.org>2015-03-27 12:16:31 +0100
commit8de3ae9567e821ad8432f67afd8756b35189ecba (patch)
treea5698609ac91555093f476d8f82f48734e139171 /tests/13_test_gbp_pq.py
parente3591101e1de375c3ed7430382b88030e240260f (diff)
tests: minor test case cleanups
Remove unused imports, remove unused variables or actually use them
Diffstat (limited to 'tests/13_test_gbp_pq.py')
-rw-r--r--tests/13_test_gbp_pq.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/13_test_gbp_pq.py b/tests/13_test_gbp_pq.py
index 57ce83b7..d8f76dc2 100644
--- a/tests/13_test_gbp_pq.py
+++ b/tests/13_test_gbp_pq.py
@@ -120,6 +120,8 @@ class TestWritePatch(testutils.DebianGitTestRepo):
opts)[0]
expected = os.path.join(str(d), 'gbptest', 'added-foo.patch')
+ self.assertEqual(os.path.basename(patchfile),
+ 'added-foo.patch')
self.assertTrue(os.path.exists(expected))
logging.debug(open(expected).read())