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
203c4cca
Commit
203c4cca
authored
May 02, 2013
by
James Tait
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify why the user's username hasn't been updated in tests.
parent
610c3acd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
django_openid_auth/tests/test_views.py
+4
-2
No files found.
django_openid_auth/tests/test_views.py
View file @
203c4cca
...
@@ -1210,7 +1210,8 @@ class RelyingPartyTests(TestCase):
...
@@ -1210,7 +1210,8 @@ class RelyingPartyTests(TestCase):
self
.
assertRedirects
(
response
,
'http://testserver/getuser/'
)
self
.
assertRedirects
(
response
,
'http://testserver/getuser/'
)
# And they are now logged in as testuser (the passed in
# And they are now logged in as testuser (the passed in
# nickname has not caused the username to change).
# nickname has not caused the username to change), because
# settings.OPENID_FOLLOW_RENAMES is False.
response
=
self
.
client
.
get
(
'/getuser/'
)
response
=
self
.
client
.
get
(
'/getuser/'
)
self
.
assertEquals
(
response
.
content
,
'testuser'
)
self
.
assertEquals
(
response
.
content
,
'testuser'
)
...
@@ -1262,7 +1263,8 @@ class RelyingPartyTests(TestCase):
...
@@ -1262,7 +1263,8 @@ class RelyingPartyTests(TestCase):
self
.
assertRedirects
(
response
,
'http://testserver/getuser/'
)
self
.
assertRedirects
(
response
,
'http://testserver/getuser/'
)
# And they are now logged in as testuser (the passed in
# And they are now logged in as testuser (the passed in
# nickname has not caused the username to change).
# nickname has not caused the username to change), because
# settings.OPENID_FOLLOW_RENAMES is False.
response
=
self
.
client
.
get
(
'/getuser/'
)
response
=
self
.
client
.
get
(
'/getuser/'
)
self
.
assertEquals
(
response
.
content
,
'testuser'
)
self
.
assertEquals
(
response
.
content
,
'testuser'
)
...
...
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