test_art/iTunesStore: log check fix.

This commit is contained in:
Reg 2019-01-21 22:49:19 +01:00
parent 1be3c954f3
commit 272bf5940b

View file

@ -372,7 +372,7 @@ class ITunesStoreTest(UseThePlugin):
def test_itunesstore_returns_no_result_with_malformed_response(self):
json = """bla blup"""
self.mock_response(fetchart.ITunesStore.API_URL, json)
expected = u"Could not decode json response: Expecting value"
expected = u"Could not decode json response:"
with capture_log('beets.test_art') as logs:
with self.assertRaises(StopIteration):