From 8bf426479c5e361f1ec59f2333eb5dc2e7fc9c92 Mon Sep 17 00:00:00 2001 From: chris meyers Date: Wed, 13 May 2020 14:39:26 -0400 Subject: [PATCH] fix schema check * Not sure how or when, but ours crawling tests set the cluster node id to NOT start with `awx-`. That is fine, the schema checker just needs to account for that. --- awx/main/tests/docs/test_swagger_generation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/tests/docs/test_swagger_generation.py b/awx/main/tests/docs/test_swagger_generation.py index 806382158f..59d1f6eece 100644 --- a/awx/main/tests/docs/test_swagger_generation.py +++ b/awx/main/tests/docs/test_swagger_generation.py @@ -174,7 +174,7 @@ class TestSwaggerGeneration(): data ) data = re.sub( - r'"action_node": "awx-[^"]+"', + r'"action_node": "[^"]+"', '"action_node": "awx"', data )