# Path: picopt/extern.py
# class ExtArgs(object):
#     def __init__(self, old_path: str, new_path: str) -> None:
# def does_external_program_run(prog: str, verbose: int) -> bool:
# def run_ext(args: Tuple[str, ...]) -> None:


from subprocess import CalledProcessError
from picopt import extern
"""Test running external commands."""



__all__ = ()  # hides module from pydocstring


def test_extargs_class() -> None:
    eac = extern.ExtArgs("a", "b")

# Path: picopt/extern.py
# class ExtArgs(object):
#     def __init__(self, old_path: str, new_path: str) -> None:
# def does_external_program_run(prog: str, verbose: int) -> bool:
# def run_ext(args: Tuple[str, ...]) -> None:


# Path: tests/unit/test_extern.py
from subprocess import CalledProcessError
from picopt import extern

"""Test running external commands."""



__all__ = ()  # hides module from pydocstring


def test_extargs_class() -> None:
    eac = extern.ExtArgs("a", "b")

    assert type(eac) == extern.ExtArgs