Ignore timestamp formatting.

This commit is contained in:
Andrey Smirnov
2014-02-10 15:29:37 +04:00
parent d0e73a3e00
commit 0c85e5252f
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -155,6 +155,7 @@ class CreateMirror14Test(BaseTest):
"""
runCmd = "aptly mirror create --keyring=aptlytest.gpg mirror14 http://download.opensuse.org/repositories/home:/DeepDiver1975/xUbuntu_10.04/ ./"
fixtureGpg = True
outputMatchPrepare = lambda _, s: re.sub(r'Signature made .* using', '', s)
def check(self):
self.check_output()
+2
View File
@@ -1,4 +1,5 @@
import string
import re
from lib import BaseTest
@@ -92,6 +93,7 @@ class UpdateMirror7Test(BaseTest):
"aptly mirror create --keyring=aptlytest.gpg flat http://download.opensuse.org/repositories/home:/DeepDiver1975/xUbuntu_10.04/ ./",
]
runCmd = "aptly mirror update --keyring=aptlytest.gpg flat"
outputMatchPrepare = lambda _, s: re.sub(r'Signature made .* using', '', s)
def output_processor(self, output):
return "\n".join(sorted(output.split("\n")))