Fix broken test due to refactoring.

This commit is contained in:
Dave St.Germain
2014-03-27 16:44:07 -04:00
parent a820b3f7a8
commit a6bde7cc9e

View File

@@ -188,7 +188,7 @@ class LoginTest(TestCase):
response = client1.post(self.url, creds)
self._assert_response(response, success=True)
self.assertEqual(self.user.profile.get_meta()['session_id'], self.client.session.session_key)
self.assertEqual(self.user.profile.get_meta()['session_id'], client1.session.session_key)
# second login should log out the first
response = client2.post(self.url, creds)