Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
amCap1712 committed May 3, 2024
1 parent dee73a1 commit 55530b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/musicbrainz/test_mbid_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def test_read(self, req):

r = [ troi.Recording("trigger hippie", artist_credit=troi.ArtistCredit(name="morcheeba")) ]
entities = e.read([r])
req.assert_called_with(e.SERVER_URL, json=[{'[artist_credit_name]': 'morcheeba', '[recording_name]': 'trigger hippie'}])
req.assert_called_with(e.SERVER_URL, json=[{'artist_credit_name': 'morcheeba', 'recording_name': 'trigger hippie'}])

assert len(entities) == 1
assert entities[0].artist_credit.artist_credit_id == 963
Expand Down

0 comments on commit 55530b8

Please sign in to comment.