summaryrefslogtreecommitdiff
path: root/service/test
diff options
context:
space:
mode:
authorAnike Arni <aarni@thoughtworks.com>2017-03-20 16:03:25 -0300
committerAnike Arni <aarni@thoughtworks.com>2017-03-20 16:03:25 -0300
commitfcedbb416c7ab60899740945af48893df88d85b8 (patch)
tree8f0e05147a0bb8e0ece3ad24c23f743821cbb21f /service/test
parente3b3005b8b98dbb689546495c71999a929aed016 (diff)
[#1012] Refactors how we retrieve soledad service
with @tayanefernandes
Diffstat (limited to 'service/test')
-rw-r--r--service/test/unit/resources/test_backup_account_resource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/test/unit/resources/test_backup_account_resource.py b/service/test/unit/resources/test_backup_account_resource.py
index 3d23256e..2b68dd1b 100644
--- a/service/test/unit/resources/test_backup_account_resource.py
+++ b/service/test/unit/resources/test_backup_account_resource.py
@@ -55,7 +55,7 @@ class TestBackupAccountResource(unittest.TestCase):
def assert_update_recovery_code_called(_):
mock_account_recovery_init.assert_called_with(
self.resource._authenticator.bonafide_session,
- self.services_factory.services()._leap_session.soledad)
+ self.resource.soledad(request))
mock_account_recovery.update_recovery_code.assert_called()
d.addCallback(assert_update_recovery_code_called)