Tests for mirror list/show.

This commit is contained in:
Andrey Smirnov
2014-01-21 15:33:22 +04:00
parent 656dddda53
commit 4197af902e
11 changed files with 121 additions and 11 deletions
+17
View File
@@ -0,0 +1,17 @@
from lib import BaseTest
class ShowMirror1Test(BaseTest):
"""
show mirror: regular mirror
"""
fixtureCmds = ["aptly mirror create mirror1 http://mirror.yandex.ru/debian/ wheezy"]
runCmd = "aptly mirror show mirror1"
class ShowMirror2Test(BaseTest):
"""
show mirror: missing mirror
"""
runCmd = "aptly mirror show mirror-xx"
expectedCode = 1