File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,7 @@ def test_run() -> None:
138138 "workers" : None ,
139139 "root_path" : "" ,
140140 "proxy_headers" : True ,
141+ "reload_dirs" : None ,
141142 "log_config" : get_uvicorn_log_config (),
142143 }
143144 assert "Using import string: single_file_app:app" in result .output
@@ -183,6 +184,7 @@ def test_run_args() -> None:
183184 "workers" : 2 ,
184185 "root_path" : "/api" ,
185186 "proxy_headers" : False ,
187+ "reload_dirs" : None ,
186188 "log_config" : get_uvicorn_log_config (),
187189 }
188190
@@ -222,6 +224,7 @@ def test_dev_help() -> None:
222224 assert "The root path is used to tell your app" in result .output
223225 assert "The name of the variable that contains the FastAPI app" in result .output
224226 assert "Use multiple worker processes." not in result .output
227+ assert "directories to watch for changes in." in result .output
225228
226229
227230def test_run_help () -> None :
@@ -243,6 +246,7 @@ def test_run_help() -> None:
243246 assert "The root path is used to tell your app" in result .output
244247 assert "The name of the variable that contains the FastAPI app" in result .output
245248 assert "Use multiple worker processes." in result .output
249+ assert "directories to watch for changes in." not in result .output
246250
247251
248252def test_callback_help () -> None :
You can’t perform that action at this time.
0 commit comments