Check contents of contents index being generated. #142

This commit is contained in:
Andrey Smirnov committed 2015-04-02 01:19:51 +03:00
1 parent 10876b99f5
commit 4e3284cd98
6 files changed
+1527

No files matched your search

+2
View File
@@ -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: