mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-02 04:50:49 +00:00
Fix mirror test
This commit is contained in:
@@ -23,7 +23,6 @@
|
||||
"Label": "Debian-Security",
|
||||
"Origin": "Debian",
|
||||
"Suite": "oldoldstable",
|
||||
"Valid-Until": "Sat, 05 Feb 2022 10:02:07 UTC",
|
||||
"Version": "9"
|
||||
},
|
||||
"LastDownloadDate": "0001-01-01T00:00:00Z",
|
||||
|
||||
@@ -39,7 +39,7 @@ class ShowMirror4Test(BaseTest):
|
||||
runCmd = "aptly mirror show mirror4"
|
||||
|
||||
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):
|
||||
|
||||
Reference in New Issue
Block a user