Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-openid-auth
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
django-openid-auth
Commits
b1bb5c26
Commit
b1bb5c26
authored
Mar 14, 2013
by
Anthony Lenton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Specify op_endpoint in tests, to work with openid 2.2.5
parent
6839073d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
django_openid_auth/tests/test_views.py
+3
-2
No files found.
django_openid_auth/tests/test_views.py
View file @
b1bb5c26
...
...
@@ -169,9 +169,10 @@ class RelyingPartyTests(TestCase):
self
.
req
=
DummyDjangoRequest
(
'http://localhost/'
)
self
.
endpoint
=
OpenIDServiceEndpoint
()
self
.
endpoint
.
claimed_id
=
'http://example.com/identity'
self
.
endpoint
.
server_url
=
'http://example.com/'
server_url
=
'http://example.com/'
self
.
endpoint
.
server_url
=
server_url
self
.
consumer
=
make_consumer
(
self
.
req
)
self
.
server
=
Server
(
DjangoOpenIDStore
())
self
.
server
=
Server
(
DjangoOpenIDStore
()
,
op_endpoint
=
server_url
)
setDefaultFetcher
(
self
.
provider
,
wrap_exceptions
=
False
)
self
.
old_login_redirect_url
=
getattr
(
settings
,
'LOGIN_REDIRECT_URL'
,
'/accounts/profile/'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment