Skip to content

Commit

Permalink
on Simon's advice... uncomment reffile.write_lines
Browse files Browse the repository at this point in the history
  • Loading branch information
stick committed May 7, 2020
1 parent 2c96b30 commit 3a9fe6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/test_web.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def normalise_generated(self, s):
def compare_with_reference(self, refname, generated):
reffile = path(__file__).dirname() / 'reference_templates' / refname
generated = generated.split('\n')
# reffile.write_lines(generated)
reffile.write_lines(generated)
ref = reffile.lines(retain=False)
d = '\n'.join(unified_diff(ref, generated))
return d
Expand Down

0 comments on commit 3a9fe6f

Please sign in to comment.