File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -331,7 +331,7 @@ async def test_should_override_post_body_with_empty_string(
331
331
),
332
332
)
333
333
334
- assert req [0 ].post_body == ""
334
+ assert req [0 ].post_body == b ""
335
335
336
336
337
337
async def test_should_chain_fallback (
Original file line number Diff line number Diff line change @@ -651,9 +651,9 @@ async def test_should_update_har_zip_for_context(
651
651
async def test_page_unroute_all_should_stop_page_route_from_har (
652
652
context_factory : Callable [[], Awaitable [BrowserContext ]],
653
653
server : Server ,
654
- asset : Path ,
654
+ assetdir : Path ,
655
655
) -> None :
656
- har_path = asset / "har-fulfill.har"
656
+ har_path = assetdir / "har-fulfill.har"
657
657
context1 = await context_factory ()
658
658
page1 = await context1 .new_page ()
659
659
# The har file contains requests for another domain, so the router
@@ -670,9 +670,9 @@ async def test_page_unroute_all_should_stop_page_route_from_har(
670
670
async def test_context_unroute_call_should_stop_context_route_from_har (
671
671
context_factory : Callable [[], Awaitable [BrowserContext ]],
672
672
server : Server ,
673
- asset : Path ,
673
+ assetdir : Path ,
674
674
) -> None :
675
- har_path = asset / "har-fulfill.har"
675
+ har_path = assetdir / "har-fulfill.har"
676
676
context1 = await context_factory ()
677
677
page1 = await context1 .new_page ()
678
678
# The har file contains requests for another domain, so the router
You can’t perform that action at this time.
0 commit comments