We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f3facb commit 1b54e88Copy full SHA for 1b54e88
1 file changed
tests/test_asgi.py
@@ -57,13 +57,11 @@ def test_starlette_application_init():
57
assert starlette_app.port == port
58
assert starlette_app.debug is True
59
assert starlette_app.options["log_level"] == "debug"
60
- assert starlette_app.options["reload"] is True
61
assert starlette_app.options["custom"] == "value"
62
63
# Test production mode
64
starlette_app = StarletteApplication(app, host, port, debug=False)
65
assert starlette_app.options["log_level"] == "error"
66
- assert starlette_app.options["reload"] is False
67
68
69
@pytest.mark.skipif("platform.system() == 'Windows'")
@@ -118,6 +116,5 @@ def mock_uvicorn_run(app, **kwargs):
118
116
"host": host,
119
117
"port": int(port),
120
"log_level": "debug",
121
- "reload": True,
122
"custom": "value",
123
}
0 commit comments