System test for ftp:// download. #48

This commit is contained in:
Andrey Smirnov
2014-08-29 19:46:58 +04:00
parent 166f31c34d
commit 47d952f712
2 changed files with 93 additions and 0 deletions
+16
View File
@@ -140,3 +140,19 @@ class UpdateMirror10Test(BaseTest):
def output_processor(self, output):
return "\n".join(sorted(output.split("\n")))
class UpdateMirror11Test(BaseTest):
"""
update mirrors: update over FTP
"""
longTest = False
fixtureGpg = True
fixtureCmds = [
"aptly mirror create -keyring=aptlytest.gpg -filter='Priority (required)' -architectures=i386 wheezy-main ftp://ftp.ru.debian.org/debian/ wheezy main",
]
runCmd = "aptly mirror update -keyring=aptlytest.gpg wheezy-main"
def output_processor(self, output):
return "\n".join(sorted(output.split("\n")))