diff options
author | Anike Arni <aarni@thoughtworks.com> | 2017-04-20 09:25:14 -0300 |
---|---|---|
committer | Anike Arni <aarni@thoughtworks.com> | 2017-04-20 09:25:14 -0300 |
commit | cffce77dbc126b1678f9a754b3e1a3663a323c33 (patch) | |
tree | 2151f72899892ab5dc187f7aa6a10a99291ffd9d /service/test/unit | |
parent | 496783ff4c7af8381edec09668c07a1d5f64f8bc (diff) |
[#927] Calls the public method intead of private one on test
with @deniscostadsc
Diffstat (limited to 'service/test/unit')
-rw-r--r-- | service/test/unit/test_account_recovery.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/test/unit/test_account_recovery.py b/service/test/unit/test_account_recovery.py index e9979fae..4dc9621f 100644 --- a/service/test/unit/test_account_recovery.py +++ b/service/test/unit/test_account_recovery.py @@ -98,7 +98,7 @@ class AccountRecoveryTest(unittest.TestCase): recovery_code_email = '\ntest@test.com, team@test.com, Sat, 21 Mar 2015 19:30:09 -0300, test.com, 34363435613266383939376535643064' with patch('pixelated.account_recovery.open', mock_open(read_data=mock_file_content), create=True): - yield self.account_recovery._send_mail(self.generated_code, self.backup_email) + yield self.account_recovery.update_recovery_code() mock_sendmail.assert_called_with( self.mock_smtp_config.remote_smtp_host, |