diff --git a/pytest_fixtures/component/templatesync.py b/pytest_fixtures/component/templatesync.py index 1e195ec838f..e6c93096a8b 100644 --- a/pytest_fixtures/component/templatesync.py +++ b/pytest_fixtures/component/templatesync.py @@ -66,7 +66,7 @@ def git_pub_key(session_target_sat, git_port): id = res.json()['id'] # add ssh key to known host session_target_sat.execute( - f'ssh-keyscan -t rsa -p {git.ssh_port} {git.hostname} > {key_path}/known_hosts' + f'ssh-keyscan -4 -t rsa -p {git.ssh_port} {git.hostname} > {key_path}/known_hosts' ) yield res = requests.delete( diff --git a/tests/foreman/cli/test_templatesync.py b/tests/foreman/cli/test_templatesync.py index 3f8472d829e..9959ae18459 100644 --- a/tests/foreman/cli/test_templatesync.py +++ b/tests/foreman/cli/test_templatesync.py @@ -161,7 +161,7 @@ def test_positive_update_templates_in_git( 'repo': url, 'branch': git_branch, 'organization-id': module_org.id, - 'filter': 'Atomic Kickstart default', + 'filter': 'User - Registered Users', 'dirname': dirname, } ).split('\n')