Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
tsv1 committed Jun 4, 2024
1 parent f4b65f9 commit 5e66655
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,11 @@

@pytest.mark.usefixtures(rich_reporter.__name__)
@pytest.mark.parametrize("show_locals", [False, True])
@pytest.mark.parametrize("show_internal_calls", [True, True])
async def test_scenario_failed(show_locals: bool, show_internal_calls: bool, *,
dispatcher: Dispatcher, printer_: Mock):
async def test_scenario_failed(show_locals: bool, dispatcher: Dispatcher, printer_: Mock):
with given:
await fire_arg_parsed_event(dispatcher,
tb_show_locals=show_locals,
tb_show_internal_calls=show_internal_calls)
tb_show_internal_calls=True)

scenario_result = make_scenario_result().mark_failed()

Expand Down Expand Up @@ -64,7 +62,7 @@ async def test_scenario_failed(show_locals: bool, show_internal_calls: bool, *,
width=100,
max_frames=8,
show_locals=show_locals,
show_internal_calls=show_internal_calls)
show_internal_calls=True)
]


Expand Down

0 comments on commit 5e66655

Please sign in to comment.