Don't require a 'OPENID_SSO_SERVER_URL' setting for testing

Bug #534167 reported by nbv4
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
django-openid-auth
Fix Released
Low
nbv4

Bug Description

On line 132 of test_views.py the test tries to get the current setting for OPENID_SSO_SERVER_URL, but if none is set, the test fails. It should use a default like the lines before it:

self.old_sso_server_url = getattr(settings, 'OPENID_SSO_SERVER_URL', None)

instead of:

self.old_sso_server_url = getattr(settings, 'OPENID_SSO_SERVER_URL')

Revision history for this message
James Henstridge (jamesh) wrote :

Fix merged to trunk in r70.

Changed in django-openid-auth:
assignee: nobody → nbv4 (nbvfour)
importance: Undecided → Low
milestone: none → 0.3
status: New → Fix Committed
Changed in django-openid-auth:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.