def test_list_with_page_1_special_case(self):
        with client.test_mode as t:
            # Register the 2nd page in order to test this.
            t.register_json('/foo/?page=2', {'count': 2, 'results': [
                {'id': 2, 'name': 'spam', 'description': 'eggs'},
            ], 'next': None, 'previous': '/foo/'})

            # Get the list
            result = self.res.list(page=2)

            # Check that the function knows that /foo/ is page 1
            self.assertEqual(result['previous'], 1)
Establish that the list function works even if the server gives
dataset/ETHPy150Open ansible/tower-cli/tests/test_models_base.py/ResourceTests.test_list_with_page_1_special_case