1
Rather than using a mock object, you should probably use django.test.client.RequestFactory
to generate a request object.
Source:stackexchange.com
1
Rather than using a mock object, you should probably use django.test.client.RequestFactory
to generate a request object.