File: test_completions.py

package info (click to toggle)
python-pipx 1.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,776 kB
  • sloc: python: 9,653; makefile: 17; sh: 7
file content (7 lines) | stat: -rw-r--r-- 207 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
from helpers import run_pipx_cli


def test_cli(monkeypatch, capsys):
    assert not run_pipx_cli(["completions"])
    captured = capsys.readouterr()
    assert "Add the appropriate command" in captured.out