From db4ccce9e418a1227532bde8834ca682bc873609 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Tue, 28 Jan 2014 12:35:20 +0400 Subject: [PATCH] Remove updated at while comparing. --- system/t04_mirror/show.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system/t04_mirror/show.py b/system/t04_mirror/show.py index 23aecc51..47fda530 100644 --- a/system/t04_mirror/show.py +++ b/system/t04_mirror/show.py @@ -1,4 +1,5 @@ from lib import BaseTest +import re class ShowMirror1Test(BaseTest): @@ -23,3 +24,4 @@ class ShowMirror3Test(BaseTest): """ fixtureDB = True runCmd = "aptly mirror show --with-packages wheezy-contrib" + outputMatchPrepare = lambda _, s: re.sub(r"Last update: [0-9:A-Za-z -]+\n", "", s)