관리-도구
편집 파일: fixtures.py
from typing import Generator import pytest from . import FakeProcess @pytest.fixture def fp() -> Generator[FakeProcess, None, None]: """Fake subprocess calls.""" with FakeProcess() as process: yield process fake_process = fp