Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/c/l/cloudbase-init-HEAD/cloudbaseinit/tests/plugins/windows/test_sshpublickeys.py   cloudbase-init(Download)
                response = self._set_ssh_keys_plugin.execute(mock_service,
                                                             fake_shared_data)
                mock_service.get_public_keys.assert_called_with()
                mock_osutils.get_user_home.assert_called_with('fake user')
                self.assertEqual(mock_os_path.join.call_count, 2)

src/c/l/cloudbase-init-HEAD/cloudbaseinit/tests/plugins/windows/test_setuserpassword.py   cloudbase-init(Download)
        mock_service.get_public_keys.return_value = public_keys
        response = self._setpassword_plugin._get_ssh_public_key(mock_service)
        mock_service.get_public_keys.assert_called_with()
        self.assertEqual(response, public_keys[0])