aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2016-12-07 14:58:55 +0100
committerGuido Günther <agx@sigxcpu.org>2016-12-07 14:58:55 +0100
commit627b8586bf44fdccf2061f5031f8e0063d20c3a8 (patch)
tree277063740dd133b7cacf10d96e669dacf8913250 /tests
parente64547b900749592a610b884241575f409a6266f (diff)
import_srpm: Drop epoch too
Upstream tags are without epoch so we need to filter that out too. Thanks: Tzafrir Cohen
Diffstat (limited to 'tests')
-rw-r--r--tests/component/rpm/test_import_srpm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/component/rpm/test_import_srpm.py b/tests/component/rpm/test_import_srpm.py
index b3dfa0a..5d3df0d 100644
--- a/tests/component/rpm/test_import_srpm.py
+++ b/tests/component/rpm/test_import_srpm.py
@@ -75,7 +75,7 @@ class TestImportPacked(ComponentTestBase):
'my2.patch', 'my3.patch'}
self._check_repo_state(repo, 'master', ['master', 'upstream'],
files=files,
- tags=['packaging/1%2.0-0', 'upstream/1%2.0'])
+ tags=['packaging/1%2.0-0', 'upstream/2.0'])
# Two commits: upstream and packaging files
eq_(len(repo.get_commits()), 2)