Skip to content

Commit 1b54e88

Browse files
committed
fix: update asgi tests to remove reload option
1 parent 9f3facb commit 1b54e88

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/test_asgi.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,11 @@ def test_starlette_application_init():
5757
assert starlette_app.port == port
5858
assert starlette_app.debug is True
5959
assert starlette_app.options["log_level"] == "debug"
60-
assert starlette_app.options["reload"] is True
6160
assert starlette_app.options["custom"] == "value"
6261

6362
# Test production mode
6463
starlette_app = StarletteApplication(app, host, port, debug=False)
6564
assert starlette_app.options["log_level"] == "error"
66-
assert starlette_app.options["reload"] is False
6765

6866

6967
@pytest.mark.skipif("platform.system() == 'Windows'")
@@ -118,6 +116,5 @@ def mock_uvicorn_run(app, **kwargs):
118116
"host": host,
119117
"port": int(port),
120118
"log_level": "debug",
121-
"reload": True,
122119
"custom": "value",
123120
}

0 commit comments

Comments
 (0)