mirror of
https://github.com/ansible/awx.git
synced 2026-04-06 18:49:21 -02:30
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:
@@ -174,7 +174,7 @@ class TestSwaggerGeneration():
|
|||||||
data
|
data
|
||||||
)
|
)
|
||||||
data = re.sub(
|
data = re.sub(
|
||||||
r'"action_node": "awx-[^"]+"',
|
r'"action_node": "[^"]+"',
|
||||||
'"action_node": "awx"',
|
'"action_node": "awx"',
|
||||||
data
|
data
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user