mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-06 22:18:28 +00:00
18 lines
385 B
Python
18 lines
385 B
Python
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
|