File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -150,12 +150,8 @@ def test_asgi_cli(monkeypatch):
150150 assert asgi_server .run .calls == [pretend .call ("0.0.0.0" , 8080 )]
151151
152152
153- @pytest .mark .parametrize ("log_execution_id" , [None , "true" ])
154- def test_cli_auto_detects_asgi_decorator (monkeypatch , log_execution_id ):
153+ def test_cli_auto_detects_asgi_decorator ():
155154 """Test that CLI auto-detects @aio decorated functions without --asgi flag."""
156- if log_execution_id :
157- monkeypatch .setenv ("LOG_EXECUTION_ID" , log_execution_id )
158-
159155 # Use the actual async_decorator.py test file which has @aio.http decorated functions
160156 test_functions_dir = pathlib .Path (__file__ ).parent / "test_functions" / "decorators"
161157 source = test_functions_dir / "async_decorator.py"
You can’t perform that action at this time.
0 commit comments