

def test_invalid_pagination(self):
    resp = resp.client.get('/api/declmodels/?page=foo')
    self.assertEqual(resp.status_code, status.HTTP_400_BAD_REQUEST)

dataset/ETHPy150Open dealertrack/djangorest-alchemy/djangorest_alchemy/tests/test_viewsets.py TestAlchemyViewSetIntegration.test_invalid_pagination/VarMisuse@12/15 `self`->`resp`