summaryrefslogtreecommitdiff
path: root/tests/component/rpm/test_import_srpm.py
diff options
context:
space:
mode:
authorJun Wang <junbill.wang@samsung.com>2016-03-22 00:23:09 +0800
committerJun Wang <junbill.wang@samsung.com>2016-03-22 00:23:09 +0800
commit212d7cb7cf1afc9ad03e995e71b9fb54372f7f10 (patch)
treeaee0dfee277e8182180f994228e62c5849c266d2 /tests/component/rpm/test_import_srpm.py
parent98ebae2eb4504a80000aa21a4ddc6266e25c17cb (diff)
downloadgit-buildpackage-212d7cb7cf1afc9ad03e995e71b9fb54372f7f10.tar.gz
git-buildpackage-212d7cb7cf1afc9ad03e995e71b9fb54372f7f10.tar.bz2
git-buildpackage-212d7cb7cf1afc9ad03e995e71b9fb54372f7f10.zip
1.Change to way to get test data dirctory
2.Fix the error of indent in tests/20_test_rpm.py 3.Change to vendor tag Change-Id: Ia9520a6c441fa9d34eff76c96a41764f3fb0ba76
Diffstat (limited to 'tests/component/rpm/test_import_srpm.py')
-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 de28259a..b35a5bd6 100644
--- a/tests/component/rpm/test_import_srpm.py
+++ b/tests/component/rpm/test_import_srpm.py
@@ -158,7 +158,7 @@ class TestImportPacked(ComponentTestBase):
eq_(len(repo.get_commits(until='upstream')), 2)
# Check number of tags
eq_(len(repo.get_tags('upstream/*')), 2)
- eq_(len(repo.get_tags('packaging/*')), 3)
+ eq_(len(repo.get_tags('vendor/*')), 3)
def test_import_to_existing(self):
"""Test importing to an existing repo"""