Merge branch 'stable-2.16' into stable-2.17
[ganeti-github.git] / test / py / ganeti.client.gnt_cluster_unittest.py
index 38bda23..2c827a7 100755 (executable)
@@ -409,7 +409,7 @@ class TestBuildGanetiPubKeys(testutils.GanetiTestCase):
     self._setUpFakeKeys()
 
     self._ssh_read_remote_ssh_pub_keys_patcher = testutils \
-      .patch_object(ssh, "ReadRemoteSshPubKeys")
+      .patch_object(ssh, "ReadRemoteSshPubKey")
     self._ssh_read_remote_ssh_pub_keys_mock = \
       self._ssh_read_remote_ssh_pub_keys_patcher.start()
     self._ssh_read_remote_ssh_pub_keys_mock.return_value = self._SOME_KEY_DICT