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.
This commit is contained in:
chris meyers 2020-05-13 14:39:26 -04:00
parent bba9d86078
commit 8bf426479c

View File

@ -174,7 +174,7 @@ class TestSwaggerGeneration():
data
)
data = re.sub(
r'"action_node": "awx-[^"]+"',
r'"action_node": "[^"]+"',
'"action_node": "awx"',
data
)