summaryrefslogtreecommitdiff
path: root/tests/integration/mail
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/mail')
-rw-r--r--tests/integration/mail/smtp/test_gateway.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/mail/smtp/test_gateway.py b/tests/integration/mail/smtp/test_gateway.py
index e286be97..38abfe7f 100644
--- a/tests/integration/mail/smtp/test_gateway.py
+++ b/tests/integration/mail/smtp/test_gateway.py
@@ -113,7 +113,7 @@ class TestSmtpGateway(KeyManagerWithSoledadTestCase):
self._soledad, gpgbinary=self.gpg_binary_path)
yield pgp.delete_key(pubkey)
# mock the key fetching
- self.km._fetch_keys_from_server = Mock(
+ self.km._nicknym.fetch_key_with_address = Mock(
return_value=fail(errors.KeyNotFound()))
user = TEST_USER
proto = getSMTPFactory(