mirror of
https://github.com/ansible/awx.git
synced 2026-09-05 03:18:29 -02:30
Update swagger test
This commit is contained in:
@@ -91,7 +91,7 @@ class TestSwaggerGeneration():
|
||||
# The number of API endpoints changes over time, but let's just check
|
||||
# for a reasonable number here; if this test starts failing, raise/lower the bounds
|
||||
paths = JSON['paths']
|
||||
assert 250 < len(paths) < 300
|
||||
assert 250 < len(paths) < 350
|
||||
assert list(paths['/api/'].keys()) == ['get']
|
||||
assert list(paths['/api/v2/'].keys()) == ['get']
|
||||
assert list(sorted(
|
||||
|
||||
Reference in New Issue
Block a user