Fix up system tests

This commit is contained in:
Andrey Smirnov
2017-07-28 18:49:18 +03:00
parent 68da8a674a
commit cbb576cbcc
3 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
openpgp: Passphrase is required to unlock private key "Aptly Tester (don't use it) <test@aptly.info>"
openpgp: 1024-bit DSA key, ID F30E8CB9CDDE2AF8, created 2014-08-30
openpgp: 1024-bit DSA key, ID F30E8CB9CDDE2AF8, created
Loading packages...
Generating metadata files and linking package files...
Finalizing metadata files...
+4
View File
@@ -1,6 +1,7 @@
import os
import hashlib
import inspect
import re
import zlib
from lib import BaseTest
@@ -747,6 +748,9 @@ class PublishRepo31Test(BaseTest):
gold_processor = BaseTest.expand_environ
configOverride = {"gpgProvider": "internal"}
def outputMatchPrepare(_, s):
return re.sub(r' \d{4}-\d{2}-\d{2}', '', s)
def check(self):
super(PublishRepo31Test, self).check()