test_cli.py 182 B

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