Looking at the tests, the problem is that the behaviour being tested reads the settings variable at import time, and while the test is probably updating the setting after django_openid_auth.admin has already been imported by the django.contrib.admin code.
I just tried merging this, and received the following errors:
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= site_with_ openid_ login_authentic ated_non_ staff (django_ openid_ auth.tests. test_admin. SiteAdminTests) ------- ------- ------- ------- ------- ------- ------- ------- ------- james/src/ ubunet/ django- openid- auth/django_ openid_ auth/tests/ test_admin. py", line 74, in test_admin_ site_with_ openid_ login_authentic ated_non_ staff content, 'Missing error message in response')
FAIL: test_admin_
-------
Traceback (most recent call last):
File "/home/
response.
AssertionError: False is not True : Missing error message in response
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= site_with_ openid_ login_non_ authenticated_ user (django_ openid_ auth.tests. test_admin. SiteAdminTests) ------- ------- ------- ------- ------- ------- ------- ------- ------- james/src/ ubunet/ django- openid- auth/django_ openid_ auth/tests/ test_admin. py", line 82, in test_admin_ site_with_ openid_ login_non_ authenticated_ user assertEqual( 302, response. status_ code)
FAIL: test_admin_
-------
Traceback (most recent call last):
File "/home/
self.
AssertionError: 302 != 200
------- ------- ------- ------- ------- ------- ------- ------- ------- -------
Looking at the tests, the problem is that the behaviour being tested reads the settings variable at import time, and while the test is probably updating the setting after django_ openid_ auth.admin has already been imported by the django. contrib. admin code.