Commit 203c4cca by James Tait

Clarify why the user's username hasn't been updated in tests.

parent 610c3acd
...@@ -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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment