mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-15 10:07:24 +00:00
Ignore dates in test
This commit is contained in:
1 parent
d60e575af5
commit
30e94064e5
1 file changed
+4
-1
@@ -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