LittleDemon WebShell


Linux server27.hostingraja.org 2.6.32-954.3.5.lve1.4.93.el6.x86_64 #1 SMP Wed Oct 4 17:04:29 UTC 2023 x86_64
Path : /opt/cloudlinux/venv/lib/python3.11/site-packages/pytest_subprocess/
File Upload :
Command :
Current File : //opt/cloudlinux/venv/lib/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

LittleDemon - FACEBOOK
[ KELUAR ]