pipdeptree/tests/test_pipdeptree.py

14 lines
297 B
Python

from __future__ import annotations
import sys
from pathlib import Path
from subprocess import check_call
def test_main() -> None:
check_call([sys.executable, "-m", "pipdeptree", "--help"])
def test_console() -> None:
check_call([Path(sys.executable).parent / "pipdeptree", "--help"])