def test_put(self):
        view = BasicTestView.as_view()

        data = {'fake': 'data'}
        request = factory.put('/',data,format='json')

        with self.assertNumQueries(0):
            response = view(request).render()

        self.assertEqual(response.status_code, status.HTTP_405_METHOD_NOT_ALLOWED)
        self.assertEqual(response.data, {"detail": 'Method "PUT" not allowed.'})
Called when some speech is observed.
dataset/ETHPy150Open Axiologue/DjangoRestMultipleModels/drf_multiple_model/tests.py/TestMMViews.test_put--crossover with--dataset/ETHPy150Open twisted/imaginary/ExampleGame/examplegame/mice.py/HiraganaMouse.responseReceived