mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-01-12 03:21:33 +00:00
Ignore dates in test
This commit is contained in:
@@ -79,4 +79,7 @@ class ShowMirror8Test(BaseTest):
|
||||
runCmd = "aptly mirror show -json mirror4"
|
||||
|
||||
def outputMatchPrepare(self, s):
|
||||
return re.sub(r'[ ]*"UUID": "[\w-]+",?\n', '', s)
|
||||
s = re.sub(r'[ ]*"UUID": "[\w-]+",?\n', '', s)
|
||||
s = re.sub('"Date": .*', '"Date": "anytime",', s)
|
||||
s = re.sub('"Valid-Until": .*', '"Valid-Until": "anytime",', s)
|
||||
return s
|
||||
|
||||
Reference in New Issue
Block a user