Commit 3de5d1a3 authored by Chris Lamb's avatar Chris Lamb
Browse files

Add support for following kwargs. (re. #18)

parent 486defa7
......@@ -74,7 +74,9 @@ class TestCase(TestCase):
return response
def assertGET(self, status_code, *args, **kwargs):
client_kwargs = {}
client_kwargs = {
'follow': kwargs.pop('follow', False),
if kwargs.pop('is_ajax', False):
client_kwargs['HTTP_X_REQUESTED_WITH'] = 'XMLHttpRequest'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment