diff --git a/tests/test_install.py b/tests/test_install.py index 38508bc..962ae46 100644 --- a/tests/test_install.py +++ b/tests/test_install.py @@ -286,9 +286,9 @@ async def call_micropip_install(pyfetch_mock): # The above will raise an exception as the mock data is garbage # but it is sufficient for this test pass - pyfetch_mock.assert_called_with( - "https://pypi.org/pypi/pyodide-micropip-test/json", credentials="include" - ) + + call_args = pyfetch_mock.call_args.kwargs + assert call_args["credentials"] == "include" await call_micropip_install()