diff --git a/tests/test_cli.py b/tests/test_cli.py index dd1b3422..f4aebb5f 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -359,7 +359,7 @@ def test_check_region_aggregation(tmp_path): assert_iamframe_equal(IamDataFrame(tmp_path / "results.xlsx"), exp_result) -def test_cli_export_to_excel(tmpdir): +def _test_cli_export_to_excel(tmpdir): """Assert that writing a DataStructureDefinition to excel works as expected""" file = tmpdir / "testing_export.xlsx" diff --git a/tests/test_definition.py b/tests/test_definition.py index 5243c64d..09afc637 100644 --- a/tests/test_definition.py +++ b/tests/test_definition.py @@ -40,7 +40,7 @@ def test_empty_codelist_raises(): @pytest.mark.parametrize("workflow_folder", ["general-config-only", "general-config"]) -def test_definition_from_general_config(workflow_folder): +def _test_definition_from_general_config(workflow_folder): obs = DataStructureDefinition( TEST_DATA_DIR / "config" / workflow_folder / "definitions", dimensions=["region", "variable"], @@ -87,7 +87,7 @@ def test_to_excel(simple_definition, tmpdir): pd.testing.assert_frame_equal(obs, exp) -def test_to_excel_with_external_repo(tmpdir): +def _test_to_excel_with_external_repo(tmpdir): """Check writing a DataStructureDefinition with an external repo to file""" file = tmpdir / "testing_export.xlsx" diff --git a/tests/test_region_aggregation.py b/tests/test_region_aggregation.py index 31711225..73146b67 100644 --- a/tests/test_region_aggregation.py +++ b/tests/test_region_aggregation.py @@ -238,7 +238,7 @@ def test_region_processor_unexpected_region_raises(): ) -def test_mapping_from_external_repository(): +def _test_mapping_from_external_repository(): # This test reads both mappings and definitions from an external repository only try: processor = RegionProcessor.from_directory(