mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-06 22:18:28 +00:00
21 lines
552 B
Python
21 lines
552 B
Python
from lib import BaseTest
|
|
|
|
|
|
class ListMirror1Test(BaseTest):
|
|
"""
|
|
list mirrors: regular list
|
|
"""
|
|
fixtureCmds = [
|
|
"aptly mirror create mirror1 http://mirror.yandex.ru/debian/ wheezy",
|
|
"aptly mirror create mirror2 http://mirror.yandex.ru/debian/ squeeze contrib",
|
|
"aptly -architectures=i386 mirror create mirror3 http://mirror.yandex.ru/debian/ squeeze non-free",
|
|
]
|
|
runCmd = "aptly mirror list"
|
|
|
|
|
|
class ListMirror2Test(BaseTest):
|
|
"""
|
|
list mirrors: empty list
|
|
"""
|
|
runCmd = "aptly mirror list"
|