]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
orchestra/test: Ignore configured ssh key os-opt 2086/head
authorZack Cerza <zack@cerza.org>
Tue, 9 Sep 2025 23:03:34 +0000 (17:03 -0600)
committerZack Cerza <zack@cerza.org>
Mon, 15 Sep 2025 17:58:52 +0000 (11:58 -0600)
This removes false negatives when a user has configued an ssh key.

Signed-off-by: Zack Cerza <zack@cerza.org>
teuthology/orchestra/test/test_connection.py

index c93a733257a0fc0cec4256e3757382189609cf5f..b9f7296aae83e2a9f6e8ca691827ef92f4eaee59 100644 (file)
@@ -31,6 +31,7 @@ class TestConnection(object):
     def clear_config(self):
         config.config.teuthology_yaml = ''
         config.config.load()
+        config.config.ssh_key = None
 
     def test_split_user_just_host(self):
         got = connection.split_user('somehost.example.com')