'Get from the url and ensure it contains the expected number of responses'

def assert_correct_asset_response(self, url, expected_start, expected_length, expected_total):

    resp = self.client.get(url, HTTP_ACCEPT='application/json')
    json_response = json.loads(resp.content)
    assets_response = json_response['assets']
    self.assertEquals(json_response['start'], expected_start)
    self.assertEquals(len(assets_response), expected_length)
    self.assertEquals(json_response['totalCount'], expected_total)
