Skip to content

Commit

Permalink
Mock GH API return of standalone Python index file (#1362)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysle authored Apr 24, 2024
1 parent 2af2473 commit 32bad16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_standalone_interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def test_upgrade_standalone_interpreter(pipx_temp_env, root, monkeypatch, capsys
assert not run_pipx_cli(["interpreter", "upgrade"])


def test_upgrade_standalone_interpreter_nothing_to_upgrade(pipx_temp_env, capsys):
def test_upgrade_standalone_interpreter_nothing_to_upgrade(pipx_temp_env, capsys, mocked_github_api):
assert not run_pipx_cli(["interpreter", "upgrade"])
captured = capsys.readouterr()
assert "Nothing to upgrade" in captured.out

0 comments on commit 32bad16

Please sign in to comment.