Skip to content

Commit

Permalink
Test presence of PIPX_GLOBAL_* in pipx environment
Browse files Browse the repository at this point in the history
  • Loading branch information
viscruocco committed Jul 29, 2024
1 parent 20bd0dc commit 2bbce3c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ def test_cli(pipx_temp_env, monkeypatch, capsys):
assert "PIPX_DEFAULT_PYTHON" in captured.out
assert "USE_EMOJI" in captured.out
assert "PIPX_HOME_ALLOW_SPACE" in captured.out
assert "PIPX_GLOBAL_HOME" in captured.out
assert "PIPX_GLOBAL_BIN_DIR" in captured.out
assert "PIPX_GLOBAL_MAN_DIR" in captured.out
assert "Environment variables (set by user):" in captured.out


Expand Down Expand Up @@ -91,3 +94,6 @@ def test_cli_global(pipx_temp_env, monkeypatch, capsys):
assert "PIPX_DEFAULT_PYTHON" in captured.out
assert "USE_EMOJI" in captured.out
assert "PIPX_DEFAULT_PYTHON" in captured.out
assert "PIPX_GLOBAL_HOME" in captured.out
assert "PIPX_GLOBAL_BIN_DIR" in captured.out
assert "PIPX_GLOBAL_MAN_DIR" in captured.out

0 comments on commit 2bbce3c

Please sign in to comment.