Skip to content

Commit 5043a77

Browse files
committed
update test_main xfail ut case
Signed-off-by: guangli.bao <[email protected]>
1 parent f60e4e1 commit 5043a77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/test_main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def test_cli_backend_args_header_removal(mock_benchmark_func, tmp_path: Path):
7777
# Assert that benchmark_with_scenario was called with the correct scenario
7878
mock_benchmark_func.assert_called_once()
7979
call_args = mock_benchmark_func.call_args[1]
80-
scenario = call_args["scenario"]
80+
scenario = call_args["args"]
8181

8282
# Verify the backend_args were merged correctly
8383
backend_args = scenario.backend_kwargs

0 commit comments

Comments
 (0)