From dd02ab329a119fdfec828aa76c059730949c2287 Mon Sep 17 00:00:00 2001 From: AlanCoding Date: Tue, 29 Nov 2016 08:07:57 -0500 Subject: [PATCH] add test assertions that check the relaunch job_type bug --- awx/main/tests/functional/test_jobs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/awx/main/tests/functional/test_jobs.py b/awx/main/tests/functional/test_jobs.py index 63cc62b03b..5169d98fb1 100644 --- a/awx/main/tests/functional/test_jobs.py +++ b/awx/main/tests/functional/test_jobs.py @@ -10,6 +10,8 @@ def test_orphan_unified_job_creation(instance, inventory): assert job2.job_template is None assert job2.inventory == inventory assert job2.name == 'hi world' + assert job.job_type == job2.job_type + assert job2.launch_type == 'relaunch' @pytest.mark.django_db