Add 'mirror already exists' test.

This commit is contained in:
Andrey Smirnov
2014-01-24 14:13:40 +04:00
parent 86f3a0b463
commit a738d4843d
2 changed files with 11 additions and 0 deletions
+9
View File
@@ -73,3 +73,12 @@ class CreateMirror7Test(BaseTest):
self.check_cmd_output("aptly mirror show mirror7", "mirror_show")
class CreateMirror8Test(BaseTest):
"""
create mirror: already exists
"""
fixtureCmds = [
"aptly mirror create mirror8 http://mirror.yandex.ru/debian/ wheezy main contrib"
]
runCmd = "aptly mirror create mirror8 http://mirror.yandex.ru/debian/ wheezy main contrib"
expectedCode = 1