mirror of
https://github.com/ansible/awx.git
synced 2026-05-06 17:07:36 -02:30
add test assertions that check the relaunch job_type bug
This commit is contained in:
@@ -10,6 +10,8 @@ def test_orphan_unified_job_creation(instance, inventory):
|
|||||||
assert job2.job_template is None
|
assert job2.job_template is None
|
||||||
assert job2.inventory == inventory
|
assert job2.inventory == inventory
|
||||||
assert job2.name == 'hi world'
|
assert job2.name == 'hi world'
|
||||||
|
assert job.job_type == job2.job_type
|
||||||
|
assert job2.launch_type == 'relaunch'
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.django_db
|
@pytest.mark.django_db
|
||||||
|
|||||||
Reference in New Issue
Block a user