

def test_with_multiple_pk_retrieve(self):
    resp = self.client.get('/api/compositemodels/1/', PK1='ABCD', PK2='WXYZ')
    self.assertEqual(resp.status_code, status.HTTP_200_OK)
    self.assertIsInstance(resp.data, dict)
    self.assertEqual(self.data['compositekeysmodel_id'], 1)
    self.assertEqual(resp.data['pk1'], 'ABCD')
    self.assertEqual(resp.data['pk2'], 'WXYZ')

dataset/ETHPy150Open dealertrack/djangorest-alchemy/djangorest_alchemy/tests/test_viewsets.py TestAlchemyViewSetIntegration.test_with_multiple_pk_retrieve/VarMisuse@57/86 `resp`->`self`