mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-15 10:07:24 +00:00
Check contents of contents index being generated. #142
This commit is contained in:
1 parent
10876b99f5
commit
4e3284cd98
6 files changed
+1527
No files matched your search
@@ -236,6 +236,8 @@ class BaseTest(object):
|
||||
self.verify_match(self.get_gold(gold_name), contents, match_prepare=match_prepare)
|
||||
except:
|
||||
if self.captureResults:
|
||||
if match_prepare is not None:
|
||||
contents = match_prepare(contents)
|
||||
with open(self.get_gold_filename(gold_name), "w") as f:
|
||||
f.write(contents)
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user