feat(api): remove unneeded changes

This commit is contained in:
pedrooot
2025-12-16 17:09:44 +01:00
parent 0bd691839b
commit 489454b5c6
5 changed files with 0 additions and 61 deletions

View File

@@ -1,13 +1,3 @@
"""
Tests for the compliance report generation.
This module tests the PDF report generation framework including:
- Helper functions and color utilities
- Chart generation
- Report generation functions
- Database aggregation utilities
"""
import uuid
from unittest.mock import Mock, patch

View File

@@ -1,13 +1,3 @@
"""
Tests for the reports base architecture.
This module tests the new PDF report generation framework including:
- Configuration and registry
- Reusable components
- Chart generation
- Base class functionality
"""
import io
import pytest

View File

@@ -1,18 +1,3 @@
"""
Tests for the ENS RD2022 report generator.
This module provides comprehensive tests for the ENSReportGenerator class,
covering:
- Cover page generation with logos and legend
- Executive summary with compliance metrics
- Marco/Categoría analysis charts
- Security dimensions radar chart
- Nivel (criticality level) compliance tables
- Tipo (requirement type) distribution
- Critical failed requirements (nivel alto)
- Requirements index generation
"""
import io
from unittest.mock import Mock, patch

View File

@@ -1,16 +1,3 @@
"""
Tests for the NIS2 Directive report generator.
This module provides comprehensive tests for the NIS2ReportGenerator class,
covering:
- Cover page generation with logos
- Executive summary with compliance metrics
- Section compliance charts
- SubSection breakdown tables
- Section number extraction
- Requirements index generation
"""
import io
from unittest.mock import Mock, patch

View File

@@ -1,16 +1,3 @@
"""
Tests for the ThreatScore report generator.
This module provides comprehensive tests for the ThreatScoreReportGenerator class,
covering:
- ThreatScore calculation with various input scenarios
- Type conversion safety (str to int for LevelOfRisk and Weight)
- Section score chart generation
- Critical failed requirements identification
- Requirements index generation
- Edge cases and boundary conditions
"""
import io
from unittest.mock import Mock