Advanced Web Server Manager
Complete File Manager & Terminal - Standalone Version
By Sid Gifari | Gifari Industries
Current path:
/
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
pytest_subprocess
✏️
Editing: 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
💾 Save Changes
❌ Cancel