summaryrefslogtreecommitdiff
path: root/service/test/unit
diff options
context:
space:
mode:
authorThais Siqueira <thais.siqueira@gmail.com>2017-03-15 11:10:46 -0300
committerThais Siqueira <thais.siqueira@gmail.com>2017-03-15 11:10:46 -0300
commitf904bf312c08dfb0c81783e892560e49a5d87221 (patch)
treeb8cb3b801bd017f2a11755fef09f530963f3e698 /service/test/unit
parentfe9940276ce3d88c39471f23c298097480ad36b2 (diff)
[#924] Fix typo on bonafide session variable name.
with @anikarni
Diffstat (limited to 'service/test/unit')
-rw-r--r--service/test/unit/resources/test_backup_account_resource.py2
-rw-r--r--service/test/unit/test_authentication.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/service/test/unit/resources/test_backup_account_resource.py b/service/test/unit/resources/test_backup_account_resource.py
index e169062e..2e676d9b 100644
--- a/service/test/unit/resources/test_backup_account_resource.py
+++ b/service/test/unit/resources/test_backup_account_resource.py
@@ -53,7 +53,7 @@ class TestBackupAccountResource(unittest.TestCase):
d = self.web.get(request)
def assert_update_recovery_code_called(_):
- mock_account_recovery_init.assert_called_with(self.resource._authenticator.bonafide_sesssion)
+ mock_account_recovery_init.assert_called_with(self.resource._authenticator.bonafide_session)
mock_account_recovery.update_recovery_code.assert_called()
d.addCallback(assert_update_recovery_code_called)
diff --git a/service/test/unit/test_authentication.py b/service/test/unit/test_authentication.py
index 7b260905..0d261685 100644
--- a/service/test/unit/test_authentication.py
+++ b/service/test/unit/test_authentication.py
@@ -77,7 +77,7 @@ class AuthenticatorTest(unittest.TestCase):
self.assertEquals('username', resulting_auth.username)
self.assertEquals('some_token', resulting_auth.token)
self.assertEquals('some_uuid', resulting_auth.uuid)
- self.assertEquals(mock_srp_auth, auth.bonafide_sesssion)
+ self.assertEquals(mock_srp_auth, auth.bonafide_session)
def test_username_without_domain_is_not_changed(self):
username_without_domain = 'username'