def mocked_get_recording_by_id(id_, includes=[], release_status=[], release_type=[]):
 releases = {ImportMusicBrainzIdTest.ID_RECORDING_0: ('VALID_RECORDING_0', 'TAG ARTIST'), ImportMusicBrainzIdTest.ID_RECORDING_1: ('VALID_RECORDING_1', 'DISTANT_MATCH')}
 return {'recording': {'title': releases[id_][0], 'id': id_, 'length': 59, 'artist-credit': [{'artist': {'name': releases[id_][1], 'id': 'some-id'}}]}}

def mocked_get_recording_by_id ( id_ , includes = [ ] , release_status = [ ] , release_type = [ ] ) : releases = { ImportMusicBrainzIdTest . ID_RECORDING_0 : ( 'VALID_RECORDING_0' , 'TAG ARTIST' ) , ImportMusicBrainzIdTest . ID_RECORDING_1 : ( 'VALID_RECORDING_1' , 'DISTANT_MATCH' ) } return { 'recording' : { 'title' : releases [ id_ ] [ 0 ] , 'id' : id_ , 'length' : 59 , 'artist-credit' : [ { 'artist' : { 'name' : releases [ id_ ] [ 1 ] , 'id' : 'some-id' } } ] } }
mimic musicbrainzngs .