mirror of
https://github.com/prowler-cloud/prowler.git
synced 2025-12-19 05:17:47 +00:00
feat(api): remove unneeded changes
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user