Remove CRUD test modules for unused and deprecated features

- Deleted `test_crud_base.py`, `test_crud_error_paths.py`, and `test_organization_async.py` due to the removal of corresponding deprecated CRUD implementations.
- Improved codebase maintainability and reduced test suite noise by eliminating obsolete test files.
This commit is contained in:
Felipe Cardoso
2025-11-01 05:48:20 +01:00
parent efcf10f9aa
commit a062daddc5
11 changed files with 685 additions and 2100 deletions

View File

@@ -9,8 +9,8 @@ from app.main import app
@pytest.fixture
def client():
"""Create a FastAPI test client for the main app."""
# Mock get_async_db to avoid database connection issues
with patch("app.core.database_async.get_async_db") as mock_get_db:
# Mock get_db to avoid database connection issues
with patch("app.core.database.get_db") as mock_get_db:
async def mock_session_generator():
from unittest.mock import MagicMock, AsyncMock
mock_session = MagicMock()