Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanking13 committed Sep 26, 2023
1 parent 0112ffe commit 962f0d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 962f0d2

Please sign in to comment.