File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ def test_dev_package() -> None:
6060 "workers" : None ,
6161 "root_path" : "" ,
6262 "proxy_headers" : True ,
63+ "forwarded_allow_ips" : None ,
6364 "log_config" : get_uvicorn_log_config (),
6465 }
6566 assert "Using import string: nested_package.package:app" in result .output
@@ -139,14 +140,10 @@ def test_run() -> None:
139140 "forwarded_allow_ips" : None ,
140141 "log_config" : get_uvicorn_log_config (),
141142 }
142- assert "Using import string single_file_app:app" in result .output
143- assert (
144- "โญโโโโโโโโโโโ FastAPI CLI - Production mode โโโโโโโโโโโโฎ" in result .output
145- )
146- assert "โ Serving at: http://0.0.0.0:8000" in result .output
147- assert "โ API docs: http://0.0.0.0:8000/docs" in result .output
148- assert "โ Running in production mode, for development use:" in result .output
149- assert "โ fastapi dev" in result .output
143+ assert "Using import string: single_file_app:app" in result .output
144+ assert "Starting production server ๐" in result .output
145+ assert "Server started at http://0.0.0.0:8000" in result .output
146+ assert "Documentation at http://0.0.0.0:8000/docs" in result .output
150147
151148
152149def test_run_trust_proxy () -> None :
You canโt perform that action at this time.
0 commit comments