summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-01-10 19:24:58 +0100
committerGuido Günther <agx@sigxcpu.org>2017-01-11 10:53:43 +0100
commitc26a0db8e583ac29614a5f08300a85870b1fca10 (patch)
tree841c4e4a3098051dd3a743138997e58dad0863ee
parent413b027ca3340abd9b8b3288ce81988f264123f1 (diff)
tests: output correct tree when hitting an error
-rw-r--r--tests/component/deb/test_import_orig.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/component/deb/test_import_orig.py b/tests/component/deb/test_import_orig.py
index d4329fe9..6dc5e132 100644
--- a/tests/component/deb/test_import_orig.py
+++ b/tests/component/deb/test_import_orig.py
@@ -1,6 +1,6 @@
# vim: set fileencoding=utf-8 :
#
-# (C) 2015 Guido Günther <agx@sigxcpu.org>
+# (C) 2015,2017 Guido Günther <agx@sigxcpu.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -122,7 +122,7 @@ class TestImportOrig(ComponentTestBase):
ok_(file in repo.ls_tree('HEAD'),
"Could not find component tarball file %s in %s" % (file, repo.ls_tree('HEAD')))
ok_(file in repo.ls_tree('upstream'),
- "Could not find component tarball file %s in %s" % (file, repo.ls_tree('HEAD')))
+ "Could not find component tarball file %s in %s" % (file, repo.ls_tree('upstream')))
dsc = DscFile.parse(self._dsc('2.8-1', dir='dsc-3.0-additional-tarballs'))
# Check if we can rebuild the upstream tarball and additional tarball
@@ -150,7 +150,7 @@ class TestImportOrig(ComponentTestBase):
ok_(file in repo.ls_tree('HEAD'),
"Could not find component tarball file %s in %s" % (file, repo.ls_tree('HEAD')))
ok_(file in repo.ls_tree('upstream'),
- "Could not find component tarball file %s in %s" % (file, repo.ls_tree('HEAD')))
+ "Could not find component tarball file %s in %s" % (file, repo.ls_tree('upstream')))
dsc = DscFile.parse(self._dsc('2.9-1', dir='dsc-3.0-additional-tarballs'))
# Check if we can rebuild the upstream tarball and additional tarball