Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_password_forgotten_url_protocol fails in 0.19.1 and master #837

Closed
yosemitebandit opened this issue Feb 16, 2015 · 1 comment
Closed

Comments

@yosemitebandit
Copy link
Contributor

cloned from github and ran pip install -r requirements.txt. (I've also seen this test case fail on the version from pypi.)

$ python manage.py test allauth.account.tests.AccountTests

Creating test database for alias 'default'...
F
======================================================================
FAIL: test_password_forgotten_url_protocol (allauth.account.tests.AccountTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/matt/django-allauth/allauth/account/tests.py", line 189, in test_password_forgotten_url_protocol
    self.assertTemplateUsed(resp, 'account/password_reset_from_key.html')
  File "/home/matt/conf/venvs/allauth/local/lib/python2.7/site-packages/django/test/testcases.py", line 538, in assertTemplateUsed
    self.fail(msg_prefix + "No templates used to render the response")
AssertionError: No templates used to render the response

----------------------------------------------------------------------
Ran 1 test in 0.189s

FAILED (failures=1)

I believe this line needs to change -- we should search for /accounts/password/reset/, not just /password/reset/.

@yosemitebandit
Copy link
Contributor Author

annnd I can't reproduce anymore! probably something with my setup, sorry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant