summaryrefslogtreecommitdiffstats
path: root/awx_collection
diff options
context:
space:
mode:
authorsean-m-sullivan <ssulliva@redhat.com>2020-10-14 03:40:35 +0200
committersean-m-sullivan <ssulliva@redhat.com>2020-10-14 03:40:35 +0200
commitd9184e02f5139a07c8c4d34b6c6e45c50e14d164 (patch)
tree4d9709a72cd19f2dceb368d9216e303fbe98ed8b /awx_collection
parentfix typo (diff)
downloadawx-d9184e02f5139a07c8c4d34b6c6e45c50e14d164.tar.xz
awx-d9184e02f5139a07c8c4d34b6c6e45c50e14d164.zip
update pytest
Diffstat (limited to 'awx_collection')
-rw-r--r--awx_collection/test/awx/test_workflow_job_template_node.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/awx_collection/test/awx/test_workflow_job_template_node.py b/awx_collection/test/awx/test_workflow_job_template_node.py
index 935b01541a..33fdc5fb58 100644
--- a/awx_collection/test/awx/test_workflow_job_template_node.py
+++ b/awx_collection/test/awx/test_workflow_job_template_node.py
@@ -54,14 +54,13 @@ def test_create_workflow_job_template_node(run_module, admin_user, wfjt, job_tem
@pytest.mark.django_db
def test_create_workflow_job_template_node_no_template(run_module, admin_user, wfjt, job_template):
- """This is a part of the API contract for creating approval nodes
- and at some point in the future, tha feature will be supported by the collection
- """
+ """This is a part of the API contract for creating approval nodes"""
this_identifier = '42🐉'
result = run_module('tower_workflow_job_template_node', {
'identifier': this_identifier,
'workflow_job_template': wfjt.name,
'organization': wfjt.organization.name,
+ 'approval_node': {'name': 'foo-jt'}
}, admin_user)
assert not result.get('failed', False), result.get('msg', result)
assert result.get('changed', False), result