Loading tests/test_scan2report.py +2 −1 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ import pytest from pytest_steps import test_steps from copy import deepcopy from template_scan2report import TemplateScan2Report from tests.test_findings_parsing import find_all_scanner_test_files from scan2report import scan2report as s2r from scan2report.scan2report import Scan2ReportData, Scan2ReportConfig Loading @@ -31,7 +32,7 @@ def input_files(): def templates_path(locale: str = LOCALE, original: bool = False) -> str: return os.path.join(config.SCAN2REPORT_PLUGINS_FOLDER, locale) + ('/templates' if original else '') return TemplateScan2Report.native_folder_name_for_locale(locale, original) def list_json_files(folder_path: str) -> List[str]: Loading Loading
tests/test_scan2report.py +2 −1 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ import pytest from pytest_steps import test_steps from copy import deepcopy from template_scan2report import TemplateScan2Report from tests.test_findings_parsing import find_all_scanner_test_files from scan2report import scan2report as s2r from scan2report.scan2report import Scan2ReportData, Scan2ReportConfig Loading @@ -31,7 +32,7 @@ def input_files(): def templates_path(locale: str = LOCALE, original: bool = False) -> str: return os.path.join(config.SCAN2REPORT_PLUGINS_FOLDER, locale) + ('/templates' if original else '') return TemplateScan2Report.native_folder_name_for_locale(locale, original) def list_json_files(folder_path: str) -> List[str]: Loading