Skip to content

Commit f6756c6

Browse files
committed
fix: remove unncessary parameterization
1 parent cf0eab0 commit f6756c6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/test_cli.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)