'Deletes an individual membership record. Verifies expected_status.'

def delete_membership(self, team_id, username, expected_status=200, **kwargs):

    url = (reverse('team_membership_detail', args=[team_id, username]) + '?admin=true')
    return self.make_call(url, expected_status, 'delete', **kwargs)
