aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2016-07-03 18:06:41 +0200
committerGuido Günther <agx@sigxcpu.org>2016-07-04 14:09:58 +0200
commit1b1f16e7a065536430d2579313be3b92f169371d (patch)
treebf4218278a37c167c69d2b67b54f4b1f46ff8613
parent7a521d4a044cb03645e86d0a687a39a88d6e40a8 (diff)
test_import_orig: Fix test_update
Until now the update was never executed Git-Dch: Ignore
-rw-r--r--tests/component/deb/test_import_orig.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/component/deb/test_import_orig.py b/tests/component/deb/test_import_orig.py
index f5698ea..df6ff66 100644
--- a/tests/component/deb/test_import_orig.py
+++ b/tests/component/deb/test_import_orig.py
@@ -72,9 +72,10 @@ class TestImportOrig(ComponentTestBase):
ok_(import_dsc(['arg0', '--pristine-tar', dsc]) == 0)
self._check_repo_state(repo, 'master', ['master', 'upstream', 'pristine-tar'])
- self._orig('2.8')
+ orig = self._orig('2.8')
+ ok_(import_orig(['arg0', '--no-interactive', '--pristine-tar', orig]) == 0)
self._check_repo_state(repo, 'master', ['master', 'upstream', 'pristine-tar'],
- tags=['debian/2.6-2', 'upstream/2.6'])
+ tags=['debian/2.6-2', 'upstream/2.6', 'upstream/2.8'])
def test_tag_exists(self):
"""Test that importing an already imported version fails"""