def test_api_pages_list_success(self):
    '\n\t\tEnsure get request returns 200.\n\t\t'
    response = self.client.get(reverse('page_list', kwargs={'language': 'nl'}))
    self.assertEqual(response.status_code, status.HTTP_200_OK)
    self.assertEqual(response.data['count'], 1)
Ensure get request returns 200.
def test_api_pages_list_success(self):
    '\n\t\t\n\t\t'
    response = self.client.get(reverse('page_list', kwargs={'language': 'nl'}))
    self.assertEqual(response.status_code, status.HTTP_200_OK)
    self.assertEqual(response.data['count'], 1)