'Gets an individual membership record, passing data as query params. Verifies expected_status.'

def get_membership_detail(self, team_id, username, expected_status=200, data=None, **kwargs):

    return self.make_call(reverse('team_membership_detail', args=[team_id, username]), expected_status, 'get', data, **kwargs)
