From 7e76ff7c21a8672f6e5ebabe91874b39273bbfcc Mon Sep 17 00:00:00 2001 From: Satellite QE <115476073+Satellite-QE@users.noreply.github.com> Date: Mon, 20 May 2024 09:03:24 -0400 Subject: [PATCH] [6.15.z] templatesync test fixes (#15111) templatesync test fixes (#14860) (cherry picked from commit 3d9d302bddf836137648a98fc49dfbda8c2f7336) Co-authored-by: Peter Ondrejka --- tests/foreman/cli/test_templatesync.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/foreman/cli/test_templatesync.py b/tests/foreman/cli/test_templatesync.py index 4d8aa850373..f10d0b400eb 100644 --- a/tests/foreman/cli/test_templatesync.py +++ b/tests/foreman/cli/test_templatesync.py @@ -216,12 +216,12 @@ def test_positive_export_filtered_templates_to_git( 'repo': url, 'branch': git_branch, 'organization-id': module_org.id, - 'filter': 'atomic', + 'filter': 'provisioning', 'dirname': dirname, } ).split('\n') exported_count = ['Exported: true' in row.strip() for row in output].count(True) - path = f'{dirname}/provisioning_templates/provision' + path = f'{dirname}/provisioning_templates/snippet' auth = (git.username, git.password) api_url = f'http://{git.hostname}:{git.http_port}' api_url = f'{api_url}/api/v1/repos/{git.username}/{git_repository["name"]}/contents'