pipdeptree/tests/test_pipdeptree.py

14 lines
311 B
Python
Raw Normal View History

2023-07-15 15:16:38 +00:00
from __future__ import annotations
import sys
from pathlib import Path
from subprocess import check_call # noqa: S404
2023-07-15 15:16:38 +00:00
def test_main() -> None:
check_call([sys.executable, "-m", "pipdeptree", "--help"])
def test_console() -> None:
check_call([Path(sys.executable).parent / "pipdeptree", "--help"])