Fix mirror test

This commit is contained in:
Benj Fassbind
2022-08-11 13:38:08 +02:00
parent afdc10b919
commit 42cfee2c09
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -23,7 +23,6 @@
"Label": "Debian-Security", "Label": "Debian-Security",
"Origin": "Debian", "Origin": "Debian",
"Suite": "oldoldstable", "Suite": "oldoldstable",
"Valid-Until": "Sat, 05 Feb 2022 10:02:07 UTC",
"Version": "9" "Version": "9"
}, },
"LastDownloadDate": "0001-01-01T00:00:00Z", "LastDownloadDate": "0001-01-01T00:00:00Z",
+1 -1
View File
@@ -39,7 +39,7 @@ class ShowMirror4Test(BaseTest):
runCmd = "aptly mirror show mirror4" runCmd = "aptly mirror show mirror4"
def outputMatchPrepare(self, s): def outputMatchPrepare(self, s):
return re.sub(r"(Date|Valid-Until): [,0-9:+A-Za-z -]+\n", "", s) return re.sub(r"(Date): [,0-9:+A-Za-z -]+\n", "", s)
class ShowMirror5Test(BaseTest): class ShowMirror5Test(BaseTest):