From 13760d78fba87570c91c0a2e702980d2ec45a0ed Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Wed, 26 Apr 2017 18:56:49 +0200 Subject: [tests] fix tests mock a renamed method. --- tests/integration/keymanager/test_keymanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/integration/keymanager') 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) -- cgit v1.2.3