Skip to content

Commit

Permalink
newline changes
Browse files Browse the repository at this point in the history
  • Loading branch information
twaugh committed Oct 8, 2015
1 parent 314b0b7 commit 10db521
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions tests/test_debrief.py
Expand Up @@ -72,17 +72,12 @@ def test_get_exclusions(self):
{'MESSAGE': 'message 2',
'KEY': 'single'}]
dbr = Debriefer()
output = ''
formatted = ''
for entry in reader:
formatted = dbr.format(entry)
if formatted:
output += formatted + '\n'
formatted += dbr.format(entry)

formatted = dbr.flush()
if formatted:
output += formatted + '\n'

assert output == '\n'.join([
formatted += dbr.flush()
assert formatted == '\n'.join([
"exclusions:",
" # 4 occurrences (out of 6)",
" - MESSAGE:",
Expand Down

0 comments on commit 10db521

Please sign in to comment.