Initial commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
from app.main import app
|
||||
|
||||
|
||||
def test_generated_api_documentation_is_disabled():
|
||||
paths = {route.path for route in app.routes}
|
||||
|
||||
assert "/docs" not in paths
|
||||
assert "/redoc" not in paths
|
||||
assert "/openapi.json" not in paths
|
||||
Reference in New Issue
Block a user