test_cli.py 174 B

1234567
  1. import subprocess
  2. def test_entrypoint():
  3. assert subprocess.run(
  4. ["free-disk", "--help"], stdout=subprocess.PIPE, check=True
  5. ).stdout.startswith(b"usage: ")