1919from mitreattack .navlayers .layerGenerator_cli import main as LGC_main
2020
2121
22- @pytest .mark .skip ("Unsupported functionality of mitreattack-python. keeping the unit test for legacy awareness" )
2322def test_export_svg (tmp_path : Path , layer_v43 : Layer , stix_file_enterprise_latest : str ):
2423 """Test SVG Export capabilities from CLI."""
2524 demo_file = tmp_path / "demo_file.json"
@@ -43,7 +42,6 @@ def test_export_svg(tmp_path: Path, layer_v43: Layer, stix_file_enterprise_lates
4342 assert test_export_svg_file .exists ()
4443
4544
46- @pytest .mark .skip ("Unsupported functionality of mitreattack-python. keeping the unit test for legacy awareness" )
4745def test_export_excel (tmp_path : Path , layer_v43 : Layer , stix_file_enterprise_latest : str ):
4846 """Test excel export capabilities from CLI."""
4947 demo_file = tmp_path / "demo_file.json"
@@ -67,7 +65,6 @@ def test_export_excel(tmp_path: Path, layer_v43: Layer, stix_file_enterprise_lat
6765 assert test_export_xlsx_file .exists ()
6866
6967
70- @pytest .mark .skip ("Unsupported functionality of mitreattack-python. keeping the unit test for legacy awareness" )
7168def test_generate_overview_group (tmp_path : Path , stix_file_mobile_latest : str ):
7269 """Test CLI group overview generation."""
7370 output_layer_file = tmp_path / "test_overview_group.json"
@@ -88,7 +85,6 @@ def test_generate_overview_group(tmp_path: Path, stix_file_mobile_latest: str):
8885 assert output_layer_file .exists ()
8986
9087
91- @pytest .mark .skip ("Unsupported functionality of mitreattack-python. keeping the unit test for legacy awareness" )
9288def test_generate_overview_software (tmp_path : Path , stix_file_mobile_latest : str ):
9389 """Test CLI software overview generation."""
9490 output_layer_file = tmp_path / "test_overview_software.json"
@@ -109,7 +105,6 @@ def test_generate_overview_software(tmp_path: Path, stix_file_mobile_latest: str
109105 assert output_layer_file .exists ()
110106
111107
112- @pytest .mark .skip ("Unsupported functionality of mitreattack-python. keeping the unit test for legacy awareness" )
113108def test_generate_overview_mitigation (tmp_path : Path , stix_file_enterprise_latest : str ):
114109 """Test CLI mitigation overview generation."""
115110 output_layer_file = tmp_path / "test_overview_mitigation.json"
@@ -130,7 +125,6 @@ def test_generate_overview_mitigation(tmp_path: Path, stix_file_enterprise_lates
130125 assert output_layer_file .exists ()
131126
132127
133- @pytest .mark .skip ("Unsupported functionality of mitreattack-python. keeping the unit test for legacy awareness" )
134128def test_generate_overview_datasource (tmp_path : Path , stix_file_enterprise_latest : str ):
135129 """Test CLI datasource overview generation."""
136130 output_layer_file = tmp_path / "test_overview_datasource.json"
@@ -151,7 +145,6 @@ def test_generate_overview_datasource(tmp_path: Path, stix_file_enterprise_lates
151145 assert output_layer_file .exists ()
152146
153147
154- @pytest .mark .skip ("Unsupported functionality of mitreattack-python. keeping the unit test for legacy awareness" )
155148def test_generate_mapped_group (tmp_path : Path , stix_file_enterprise_latest : str ):
156149 """Test CLI group mapped generation (APT1)."""
157150 output_layer_file = tmp_path / "test_mapped_group.json"
@@ -172,7 +165,6 @@ def test_generate_mapped_group(tmp_path: Path, stix_file_enterprise_latest: str)
172165 assert output_layer_file .exists ()
173166
174167
175- @pytest .mark .skip ("Unsupported functionality of mitreattack-python. keeping the unit test for legacy awareness" )
176168def test_generate_mapped_software (tmp_path : Path , stix_file_enterprise_latest : str ):
177169 """Test CLI software mapped generation (S0202)."""
178170 output_layer_file = tmp_path / "test_mapped_software.json"
@@ -193,7 +185,6 @@ def test_generate_mapped_software(tmp_path: Path, stix_file_enterprise_latest: s
193185 assert output_layer_file .exists ()
194186
195187
196- @pytest .mark .skip ("Unsupported functionality of mitreattack-python. keeping the unit test for legacy awareness" )
197188def test_generate_mapped_mitigation (tmp_path : Path , stix_file_mobile_latest : str ):
198189 """Test CLI mitigation mapped generation (M1013)."""
199190 output_layer_file = tmp_path / "test_mapped_mitigation.json"
@@ -214,7 +205,6 @@ def test_generate_mapped_mitigation(tmp_path: Path, stix_file_mobile_latest: str
214205 assert output_layer_file .exists ()
215206
216207
217- @pytest .mark .skip ("Unsupported functionality of mitreattack-python. keeping the unit test for legacy awareness" )
218208def test_generate_mapped_datasource (tmp_path : Path , stix_file_enterprise_latest : str ):
219209 """Test CLI datasource mapped generation."""
220210 output_layer_file = tmp_path / "test_mapped_datasource.json"
@@ -277,7 +267,6 @@ def test_generate_batch_software(tmp_path: Path, stix_file_ics_latest: str):
277267 assert output_layers_dir .is_dir ()
278268
279269
280- @pytest .mark .skip ("Unsupported functionality of mitreattack-python. keeping the unit test for legacy awareness" )
281270def test_generate_batch_mitigation (tmp_path : Path , stix_file_enterprise_latest : str ):
282271 """Test CLI mitigation batch generation."""
283272 output_layers_dir = tmp_path / "test_batch_mitigation"
@@ -298,7 +287,6 @@ def test_generate_batch_mitigation(tmp_path: Path, stix_file_enterprise_latest:
298287 assert output_layers_dir .is_dir ()
299288
300289
301- @pytest .mark .skip ("Unsupported functionality of mitreattack-python. keeping the unit test for legacy awareness" )
302290def test_generate_batch_datasource (tmp_path : Path , stix_file_enterprise_latest : str ):
303291 """Test CLI datasource batch generation."""
304292 output_layers_dir = tmp_path / "test_batch_datasource"
0 commit comments