mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-09 06:04:12 +00:00
Make system test ignore debugging features being on/off.
This commit is contained in:
@@ -3,6 +3,7 @@ Test config file
|
||||
"""
|
||||
|
||||
import os
|
||||
import re
|
||||
import inspect
|
||||
from lib import BaseTest
|
||||
|
||||
@@ -43,6 +44,8 @@ class ConfigInFileTest(BaseTest):
|
||||
runCmd = ["aptly", "-config=%s" % (os.path.join(os.path.dirname(inspect.getsourcefile(BadConfigTest)), "aptly.conf"), )]
|
||||
prepare = BaseTest.prepare_remove_all
|
||||
|
||||
outputMatchPrepare = lambda _, s: re.sub(r' -(cpuprofile|memprofile|memstats|meminterval)=.*\n', '', s, flags=re.MULTILINE)
|
||||
|
||||
|
||||
class ConfigInMissingFileTest(BaseTest):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user