From 8d0767b3f313658976dcfdd8cba1aa3e0bc33c18 Mon Sep 17 00:00:00 2001 From: Peter Ondrejka Date: Tue, 23 Apr 2024 11:26:03 +0200 Subject: [PATCH] templatesync test fixes --- 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 b0cc31b2003..302d6a327f2 100644 --- a/tests/foreman/cli/test_templatesync.py +++ b/tests/foreman/cli/test_templatesync.py @@ -215,12 +215,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'