docs: Correct test file names and counts to reflect actual implementation
- Update total test count: 581 → 535 tests (532 passed, 3 skipped) - Correct Task 1: test_security_middleware.py (48 tests) - Correct Task 3: test_database_service.py (20 tests) - Correct Task 6: test_page_controller.py (37 tests) - Correct Task 7: test_background_loader_service.py (46 tests) - Update Task 2: 50 tests (not 51) - Update Task 4: 46 tests (not 48) - Update Task 5: 73 tests (not 59) - Update Phase 1 total: 118 tests (not 164) - Update unit tests count: 494 tests (not 540) - Update git commit count: 16 commits Files updated: - TESTING_SUMMARY.md - docs/instructions.md - README.md All tests verified passing with pytest run
This commit is contained in:
@@ -6,10 +6,11 @@ without mocking internal implementation details. These tests verify
|
||||
that major system flows work correctly end-to-end.
|
||||
"""
|
||||
|
||||
import pytest
|
||||
from pathlib import Path
|
||||
from unittest.mock import AsyncMock, MagicMock, patch
|
||||
|
||||
import pytest
|
||||
|
||||
from src.server.services import initialization_service
|
||||
|
||||
|
||||
@@ -253,7 +254,7 @@ class TestRealWorldScenarios:
|
||||
async def test_check_scan_status_with_mock_database(self):
|
||||
"""Test check scan status with mocked database."""
|
||||
from unittest.mock import AsyncMock
|
||||
|
||||
|
||||
# Create a simple check method
|
||||
async def check_method(svc, db):
|
||||
return True # Scan completed
|
||||
|
||||
Reference in New Issue
Block a user