Skip to content

Commit

Permalink
More permissive log check for #3247
Browse files Browse the repository at this point in the history
  • Loading branch information
sampsyo committed May 2, 2019
1 parent 83ac5ed commit 8bef21a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/test_replaygain.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,7 @@ def test_malformed_output(self, call_patch):

# Count how many lines match the expected error.
matching = [line for line in logs if
line == 'replaygain: ReplayGain error: bs1770gain '
'returned malformed XML - this is a bug in '
'versions prior to v0.4.10, please ensure that '
'your version is up to date']
'malformed XML' in line]

self.assertEqual(len(matching), 2)

Expand Down

0 comments on commit 8bef21a

Please sign in to comment.