summaryrefslogtreecommitdiff
path: root/service/test/unit
diff options
context:
space:
mode:
authorGiovane <giovaneliberato@gmail.com>2016-02-01 17:43:33 -0200
committerGiovane <giovaneliberato@gmail.com>2016-02-01 17:43:33 -0200
commitc7c8607665de3fbe7238436c6b6b240673549aec (patch)
treea919ca64a3ade83385f0293f9c2211018b7fab96 /service/test/unit
parentd95aa6ac85e332b4ee8fe2ec7ce12dde80776b05 (diff)
Fix unit tests
Diffstat (limited to 'service/test/unit')
-rw-r--r--service/test/unit/bitmask_libraries/test_session.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/test/unit/bitmask_libraries/test_session.py b/service/test/unit/bitmask_libraries/test_session.py
index eb969e3c..6e0e6204 100644
--- a/service/test/unit/bitmask_libraries/test_session.py
+++ b/service/test/unit/bitmask_libraries/test_session.py
@@ -80,7 +80,7 @@ class SessionTest(AbstractLeapTest):
session = self._create_session()
self.provider.address_for.return_value = 'someone@somedomain.tld'
- session._set_fresh_account('someone@somedomain.tld')
+ session._set_fresh_account(None, 'someone@somedomain.tld')
self.assertTrue(session.fresh_account)
@@ -89,7 +89,7 @@ class SessionTest(AbstractLeapTest):
session = self._create_session()
self.provider.address_for.return_value = 'someone@somedomain.tld'
- session._set_fresh_account('another_email@somedomain.tld')
+ session._set_fresh_account(None, 'another_email@somedomain.tld')
self.assertFalse(session.fresh_account)