mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-22 11:08:20 +00:00
Make system test ignore debugging features being on/off.
This commit is contained in:
1 parent
410caa6141
commit
9f1f5aa92f
5 files changed
+8
-12
No files matched your search
@@ -2,6 +2,7 @@
|
||||
Test help screens
|
||||
"""
|
||||
|
||||
import re
|
||||
from lib import BaseTest
|
||||
|
||||
|
||||
@@ -11,6 +12,8 @@ class MainTest(BaseTest):
|
||||
"""
|
||||
runCmd = "aptly"
|
||||
|
||||
outputMatchPrepare = lambda _, s: re.sub(r' -(cpuprofile|memprofile|memstats|meminterval)=.*\n', '', s, flags=re.MULTILINE)
|
||||
|
||||
|
||||
class MirrorTest(BaseTest):
|
||||
"""
|
||||
@@ -32,6 +35,8 @@ class MainHelpTest(BaseTest):
|
||||
"""
|
||||
runCmd = "aptly help"
|
||||
|
||||
outputMatchPrepare = lambda _, s: re.sub(r' -(cpuprofile|memprofile|memstats|meminterval)=.*\n', '', s, flags=re.MULTILINE)
|
||||
|
||||
|
||||
class MirrorHelpTest(BaseTest):
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user