mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-30 04:20:53 +00:00
Fix mirror test
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user