mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-08 22:30:41 +00:00
Remove updated at while comparing.
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
from lib import BaseTest
|
from lib import BaseTest
|
||||||
|
import re
|
||||||
|
|
||||||
|
|
||||||
class ShowMirror1Test(BaseTest):
|
class ShowMirror1Test(BaseTest):
|
||||||
@@ -23,3 +24,4 @@ class ShowMirror3Test(BaseTest):
|
|||||||
"""
|
"""
|
||||||
fixtureDB = True
|
fixtureDB = True
|
||||||
runCmd = "aptly mirror show --with-packages wheezy-contrib"
|
runCmd = "aptly mirror show --with-packages wheezy-contrib"
|
||||||
|
outputMatchPrepare = lambda _, s: re.sub(r"Last update: [0-9:A-Za-z -]+\n", "", s)
|
||||||
|
|||||||
Reference in New Issue
Block a user