mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-30 04:20:53 +00:00
Ignore timestamp formatting.
This commit is contained in:
@@ -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/ ./"
|
runCmd = "aptly mirror create --keyring=aptlytest.gpg mirror14 http://download.opensuse.org/repositories/home:/DeepDiver1975/xUbuntu_10.04/ ./"
|
||||||
fixtureGpg = True
|
fixtureGpg = True
|
||||||
|
outputMatchPrepare = lambda _, s: re.sub(r'Signature made .* using', '', s)
|
||||||
|
|
||||||
def check(self):
|
def check(self):
|
||||||
self.check_output()
|
self.check_output()
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import string
|
import string
|
||||||
|
import re
|
||||||
from lib import BaseTest
|
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/ ./",
|
"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"
|
runCmd = "aptly mirror update --keyring=aptlytest.gpg flat"
|
||||||
|
outputMatchPrepare = lambda _, s: re.sub(r'Signature made .* using', '', s)
|
||||||
|
|
||||||
def output_processor(self, output):
|
def output_processor(self, output):
|
||||||
return "\n".join(sorted(output.split("\n")))
|
return "\n".join(sorted(output.split("\n")))
|
||||||
|
|||||||
Reference in New Issue
Block a user