mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-26 13:47:40 +00:00
Command aptly mirror drop with system tests.
This commit is contained in:
+2
-2
@@ -104,8 +104,8 @@ class BaseTest(object):
|
||||
def check_output(self):
|
||||
self.verify_match(self.get_gold(), self.output, match_prepare=self.outputMatchPrepare)
|
||||
|
||||
def check_cmd_output(self, command, gold_name, match_prepare=None):
|
||||
self.verify_match(self.get_gold(gold_name), self.run_cmd(command), match_prepare)
|
||||
def check_cmd_output(self, command, gold_name, match_prepare=None, expected_code=0):
|
||||
self.verify_match(self.get_gold(gold_name), self.run_cmd(command, expected_code=expected_code), match_prepare)
|
||||
|
||||
def verify_match(self, a, b, match_prepare=None):
|
||||
if match_prepare is not None:
|
||||
|
||||
Reference in New Issue
Block a user