Run flake8 on the AWX collection in CI

This commit is contained in:
Alan Rominger
2021-07-09 12:01:28 -04:00
parent adb6661015
commit 08cb497689
18 changed files with 14 additions and 36 deletions

View File

@@ -70,7 +70,6 @@ RETURN = """
from ..module_utils.controller_api import ControllerAPIModule
import time
def main():
@@ -91,10 +90,7 @@ def main():
timeout = module.params.get("timeout")
interval = module.params.get("interval")
node_url = "workflow_jobs/{0}/workflow_nodes/?job__name={1}".format(workflow_job_id, name)
# Attempt to look up workflow job node based on the provided id
result = module.wait_on_workflow_node_url(
module.wait_on_workflow_node_url(
url="workflow_jobs/{0}/workflow_nodes/".format(workflow_job_id),
object_name=name,
object_type="Workflow Node",