Skip to content

Instantly share code, notes, and snippets.

@jacobian
Created May 19, 2011 22:52
Show Gist options
  • Save jacobian/981984 to your computer and use it in GitHub Desktop.
Save jacobian/981984 to your computer and use it in GitHub Desktop.
======================================================================
ERROR: test_not_logged_in (profiles.tests.RepLoginRequiredDecoratorTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./profiles/tests.py", line 54, in test_not_logged_in
self.assertRedirects(response, settings.LOGIN_URL)
File "/Users/jacob/.virtualenvs/regis-support/lib/python2.6/site-packages/django/test/testcases.py", line 389, in assertRedirects
redirect_response = response.client.get(path, QueryDict(query))
AttributeError: 'HttpResponseRedirect' object has no attribute 'client'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment