'Given a user object, get the URI for the corresponding resource'

def get_uri_for_user(self, target_user):

    users = self.get_json(USER_LIST_URI)['results']
    for user in users:
        if (user['id'] == target_user.id):
            return user['url']
    self.fail()
