summaryrefslogtreecommitdiff
path: root/tests/integration/keymanager
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2017-04-26 18:56:49 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2017-04-27 19:33:30 +0200
commit13760d78fba87570c91c0a2e702980d2ec45a0ed (patch)
tree309b2925857abe720468b32dfebebf82d2076817 /tests/integration/keymanager
parent6109dce577a160e64a87ec0573c83c310e913cbc (diff)
[tests] fix tests
mock a renamed method.
Diffstat (limited to 'tests/integration/keymanager')
-rw-r--r--tests/integration/keymanager/test_keymanager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/keymanager/test_keymanager.py b/tests/integration/keymanager/test_keymanager.py
index 86e9115f..9f81e020 100644
--- a/tests/integration/keymanager/test_keymanager.py
+++ b/tests/integration/keymanager/test_keymanager.py
@@ -424,7 +424,7 @@ class KeyManagerKeyManagementTestCase(KeyManagerWithSoledadTestCase):
"""
km = self._key_manager()
- km._nicknym._async_client_pinned.request = \
+ km._async_client.request = \
mock.Mock(return_value=defer.succeed(""))
d = km.fetch_key(ADDRESS, "http://site.domain/key")
return self.assertFailure(d, errors.KeyNotFound)