commit | 63de1c25800d85eb2075de65c9b05f7ded87779d | [log] [tgz] |
---|---|---|
author | rabi <ramishra@redhat.com> | Mon Jun 16 10:19:15 2025 +0530 |
committer | Rabi Mishra <ramishra@redhat.com> | Mon Jun 16 05:07:31 2025 +0000 |
tree | e4723fe6833e9c559baf0d9e323b4e5f57905279 | |
parent | 1afcff2bff1db4a318ad1fb027c84d13f9b1e3d6 [diff] |
Use StringIO from io We don't test CfnInitIntegrationTest.test_server_cfn_init and hence this was not detected. Change-Id: I7bc1fe17e8d9149c93e838dfe4a253a69387c480
diff --git a/heat_tempest_plugin/common/remote_client.py b/heat_tempest_plugin/common/remote_client.py index aa652be..a7b9ab7 100644 --- a/heat_tempest_plugin/common/remote_client.py +++ b/heat_tempest_plugin/common/remote_client.py
@@ -33,7 +33,7 @@ self.password = password if isinstance(pkey, str): pkey = paramiko.RSAKey.from_private_key( - io.cStringIO(str(pkey))) + io.StringIO(str(pkey))) self.pkey = pkey self.look_for_keys = look_for_keys self.key_filename = key_filename