Files
aptly/system/t09_repo/show.py
T
2014-02-20 16:39:58 +04:00

26 lines
535 B
Python

from lib import BaseTest
class ShowRepo1Test(BaseTest):
"""
show local repo: regular
"""
fixtureCmds = ["aptly repo create -comment=Cool repo1"]
runCmd = "aptly repo show repo1"
class ShowRepo2Test(BaseTest):
"""
show local repo: -with-packages
"""
fixtureCmds = ["aptly repo create -comment=Cool repo2"]
runCmd = "aptly repo show -with-packages repo2"
class ShowRepo3Test(BaseTest):
"""
show local repo: not found
"""
expectedCode = 1
runCmd = "aptly repo show repo3"