- Test should create order with correct initial values
- Test should create api response with correct initial values
- Test should return true when write to file success
- Test should return false when write to file fails
import pytest | |
from unittest.mock import MagicMock | |
from lead_service import LeadService, ValidationException | |
@pytest.fixture | |
def mock_dependencies(): | |
lead_repo = MagicMock() | |
sales_agent_repo = MagicMock() |