Update swagger test

This commit is contained in:
beeankha
2019-06-03 21:20:41 -04:00
parent 8d6e1f0927
commit dd372548a9
2 changed files with 2 additions and 2 deletions

View File

@@ -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(