Clean up and release 1.1.3

This commit is contained in:
Cristi Vîjdea
2018-01-02 22:07:33 +01:00
parent f81795d745
commit 68b0dda0b9
6 changed files with 99 additions and 59 deletions
+1 -4
View File
@@ -52,10 +52,7 @@ def test_caching(client, validate_schema):
prev_schema = None
for i in range(3):
_validate_ui_schema_view(client, '/cached/redoc/', 'redoc/redoc.min.js')
_validate_text_schema_view(client, validate_schema, '/cached/redoc/?format=openapi', json.loads)
_validate_ui_schema_view(client, '/cached/swagger/', 'swagger-ui-dist/swagger-ui-bundle.js')
_validate_text_schema_view(client, validate_schema, '/cached/swagger/?format=openapi', json.loads)
_validate_text_schema_view(client, validate_schema, '/cached/swagger.yaml', yaml_sane_load)
json_schema = client.get('/cached/swagger.json')
assert json_schema.status_code == 200