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:
138
138
"workers" : None ,
139
139
"root_path" : "" ,
140
140
"proxy_headers" : True ,
141
+ "reload_dirs" : None ,
141
142
"log_config" : get_uvicorn_log_config (),
142
143
}
143
144
assert "Using import string: single_file_app:app" in result .output
@@ -183,6 +184,7 @@ def test_run_args() -> None:
183
184
"workers" : 2 ,
184
185
"root_path" : "/api" ,
185
186
"proxy_headers" : False ,
187
+ "reload_dirs" : None ,
186
188
"log_config" : get_uvicorn_log_config (),
187
189
}
188
190
@@ -222,6 +224,7 @@ def test_dev_help() -> None:
222
224
assert "The root path is used to tell your app" in result .output
223
225
assert "The name of the variable that contains the FastAPI app" in result .output
224
226
assert "Use multiple worker processes." not in result .output
227
+ assert "directories to watch for changes in." in result .output
225
228
226
229
227
230
def test_run_help () -> None :
@@ -243,6 +246,7 @@ def test_run_help() -> None:
243
246
assert "The root path is used to tell your app" in result .output
244
247
assert "The name of the variable that contains the FastAPI app" in result .output
245
248
assert "Use multiple worker processes." in result .output
249
+ assert "directories to watch for changes in." not in result .output
246
250
247
251
248
252
def test_callback_help () -> None :
You can’t perform that action at this time.
0 commit comments