%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/cloudlinux/venv/lib64/python3.11/site-packages/pytest_subprocess/
Upload File :
Create Path :
Current File : //opt/cloudlinux/venv/lib64/python3.11/site-packages/pytest_subprocess/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

Zerion Mini Shell 1.0