Skip to content

Commit

Permalink
[6.15.z] templatesync test fixes (#15111)
Browse files Browse the repository at this point in the history
templatesync test fixes (#14860)

(cherry picked from commit 3d9d302)

Co-authored-by: Peter Ondrejka <[email protected]>
  • Loading branch information
Satellite-QE and pondrejk authored May 20, 2024
1 parent 39258c3 commit 7e76ff7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/foreman/cli/test_templatesync.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 7e76ff7

Please sign in to comment.