Default distribution/component could be specified when creating repo. #12

This commit is contained in:
Andrey Smirnov
2014-03-26 21:24:09 +04:00
parent 7f2f435e2d
commit 0f8f43b9f0
38 changed files with 113 additions and 49 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ class ShowRepo1Test(BaseTest):
"""
show local repo: regular
"""
fixtureCmds = ["aptly repo create -comment=Cool repo1"]
fixtureCmds = ["aptly repo create -comment=Cool -distribution=squeeze repo1"]
runCmd = "aptly repo show repo1"
@@ -14,7 +14,7 @@ class ShowRepo2Test(BaseTest):
show local repo: -with-packages
"""
fixtureCmds = [
"aptly repo create -comment=Cool repo2",
"aptly repo create -comment=Cool -distribution=wheezy -component=contrib repo2",
"aptly repo add repo2 ${files}"
]
runCmd = "aptly repo show -with-packages repo2"