Framework Mode - Why mocking isolates code under test
Folder Structure
project-root/ ├── tests/ │ ├── test_service.py │ ├── test_repository.py │ └── __init__.py ├── src/ │ ├── service.py │ ├── repository.py │ └── __init__.py ├── conftest.py ├── pytest.ini └── requirements.txt