diff options
| -rw-r--r-- | tests/test_cc_heuristics.py | 2 | ||||
| -rw-r--r-- | tests/test_cc_txt_processing.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_cc_heuristics.py b/tests/test_cc_heuristics.py index 7d3bc057..ec8a49ed 100644 --- a/tests/test_cc_heuristics.py +++ b/tests/test_cc_heuristics.py @@ -15,7 +15,7 @@ from sec_certs.sample.protection_profile import ProtectionProfile class TestCommonCriteriaHeuristics(TestCase): - dataset_json_path: ClassVar[Path] = Path(tests.data.test_cc_heuristics.__path__[0]) / "vulnerable_dataset.json" # type: ignore # mypy issue #1422 + dataset_json_path: ClassVar[Path] = Path(tests.data.test_cc_heuristics.__path__[0]) / "vulnerable_dataset.json" data_dir_path: ClassVar[Path] = dataset_json_path.parent tmp_dir: ClassVar[tempfile.TemporaryDirectory] cc_dset: CCDataset diff --git a/tests/test_cc_txt_processing.py b/tests/test_cc_txt_processing.py index cc1cb23c..55d1c494 100644 --- a/tests/test_cc_txt_processing.py +++ b/tests/test_cc_txt_processing.py @@ -10,7 +10,7 @@ from sec_certs.sample.common_criteria import CommonCriteriaCert class TestCommonCriteriaTextProcessing(TestCase): - dataset_json_path: ClassVar[Path] = Path(tests.data.test_cc_heuristics.__path__[0]) / "vulnerable_dataset.json" # type: ignore # mypy issue #1422 + dataset_json_path: ClassVar[Path] = Path(tests.data.test_cc_heuristics.__path__[0]) / "vulnerable_dataset.json" data_dir_path: ClassVar[Path] = dataset_json_path.parent tmp_dir: ClassVar[tempfile.TemporaryDirectory] cc_dset: CCDataset |
