Test disable signing & verifying via config file.

This commit is contained in:
Andrey Smirnov
2014-02-07 21:09:46 +04:00
parent 3e5d54f3ef
commit 8c83706684
6 changed files with 82 additions and 0 deletions
+12
View File
@@ -135,3 +135,15 @@ class CreateMirror12Test(BaseTest):
gold_processor = BaseTest.expand_environ
outputMatchPrepare = lambda _, s: re.sub(r'Signature made .* using', '', s)
expectedCode = 1
class CreateMirror13Test(BaseTest):
"""
create mirror: skip verification using config file
"""
runCmd = "aptly mirror create mirror13 http://mirror.yandex.ru/debian/ wheezy"
configOverride = {"gpgDisableVerify": True}
def check(self):
self.check_output()
self.check_cmd_output("aptly mirror show mirror13", "mirror_show")