1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00

flake8 fix

This commit is contained in:
Chris Meyers 2016-09-15 15:28:55 -04:00
parent 77cc7f9d00
commit 7f614a53db

View File

@ -26,9 +26,9 @@ class TestWorkflowJob:
workflow_job.inherit_job_template_workflow_nodes() workflow_job.inherit_job_template_workflow_nodes()
nodes = WorkflowJob.objects.get(id=workflow_job.id).workflow_job_nodes.all().order_by('created') nodes = WorkflowJob.objects.get(id=workflow_job.id).workflow_job_nodes.all().order_by('created')
assert nodes[0].success_nodes.filter(id=nodes[1].id).exists() == True assert nodes[0].success_nodes.filter(id=nodes[1].id).exists()
assert nodes[1].success_nodes.filter(id=nodes[2].id).exists() == True assert nodes[1].success_nodes.filter(id=nodes[2].id).exists()
assert nodes[0].failure_nodes.filter(id=nodes[3].id).exists() == True assert nodes[0].failure_nodes.filter(id=nodes[3].id).exists()
assert nodes[3].failure_nodes.filter(id=nodes[4].id).exists() == True assert nodes[3].failure_nodes.filter(id=nodes[4].id).exists()