Skip to content

Commit 32bad16

Browse files
authored
Mock GH API return of standalone Python index file (#1362)
1 parent 2af2473 commit 32bad16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_standalone_interpreter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def test_upgrade_standalone_interpreter(pipx_temp_env, root, monkeypatch, capsys
134134
assert not run_pipx_cli(["interpreter", "upgrade"])
135135

136136

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

0 commit comments

Comments
 (0)