2023-07-15 15:16:38 +00:00
|
|
|
from __future__ import annotations
|
|
|
|
|
|
|
|
import sys
|
|
|
|
from pathlib import Path
|
2024-02-13 02:07:42 +00:00
|
|
|
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"])
|