Skip to content

Commit

Permalink
test export of cloned template (#15130)
Browse files Browse the repository at this point in the history
  • Loading branch information
pondrejk authored May 23, 2024
1 parent 27b3e06 commit b9d92b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/foreman/ui/test_jobtemplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ def test_positive_end_to_end(session, module_org, module_location, target_sat):
assert target_sat.hostname in template_values['template']['template_editor']['editor']
session.jobtemplate.clone(template_new_name, {'template.name': template_clone_name})
assert session.jobtemplate.search(template_clone_name)[0]['Name'] == template_clone_name
dumped_content = target_sat.cli.JobTemplate.dump({'name': template_clone_name})
assert len(dumped_content) > 0
for name in (template_new_name, template_clone_name):
session.jobtemplate.delete(name)
assert not session.jobtemplate.search(name)

0 comments on commit b9d92b2

Please sign in to comment.