mirror of
https://github.com/ansible/awx.git
synced 2024-10-30 22:21:13 +03:00
Change text in workflow functional test to be consistant with the latest version.
This commit is contained in:
parent
06dd5bb5d2
commit
4068d4aaeb
@ -125,9 +125,9 @@ class TestWorkflowJobTemplate:
|
||||
node_assoc = WorkflowJobTemplateNode.objects.create(workflow_job_template=wfjt)
|
||||
nodes[2].always_nodes.add(node_assoc)
|
||||
# test cycle validation
|
||||
assert test_view.is_valid_relation(node_assoc, nodes[0]) == {'Error': 'Cycle detected!'}
|
||||
assert test_view.is_valid_relation(node_assoc, nodes[0]) == {'Error': 'Cycle detected.'}
|
||||
# test multi-ancestor validation
|
||||
assert test_view.is_valid_relation(node_assoc, nodes[1]) == {'Error': 'Multiple ancestor detected!'}
|
||||
assert test_view.is_valid_relation(node_assoc, nodes[1]) == {'Error': 'Multiple parent relationship not allowed.'}
|
||||
# test mutex validation
|
||||
test_view.relationship = 'failure_nodes'
|
||||
node_assoc_1 = WorkflowJobTemplateNode.objects.create(workflow_job_template=wfjt)
|
||||
|
Loading…
Reference in New Issue
Block a user