From d1f67a9e64fb09fc2b3e13351f23af9148e2eb5a Mon Sep 17 00:00:00 2001 From: AngRodrigues Date: Tue, 14 Jan 2025 15:32:09 +1100 Subject: [PATCH] chore: finalise details --- tests/data_checks/test_input_data_fold.py | 2 +- tests/project/test_ignore_codes_setters_getters.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/data_checks/test_input_data_fold.py b/tests/data_checks/test_input_data_fold.py index e20b97d4..94834894 100644 --- a/tests/data_checks/test_input_data_fold.py +++ b/tests/data_checks/test_input_data_fold.py @@ -51,7 +51,7 @@ }, {"structtype_column": "FEATURE", "fold_text": "fold", "objectid_column": "ID", "description_column": "description"}, True, - "Datatype FAULT: Column 'FOLD' (config key: 'structtype_column') contains non-string values. Please ensure all values in this column are strings." + "Datatype FOLD: Column 'FEATURE' (config key: 'structtype_column') contains non-string values. Please ensure all values in this column are strings." ), # Missing ID column ( diff --git a/tests/project/test_ignore_codes_setters_getters.py b/tests/project/test_ignore_codes_setters_getters.py index 34de34a4..0674ca95 100644 --- a/tests/project/test_ignore_codes_setters_getters.py +++ b/tests/project/test_ignore_codes_setters_getters.py @@ -21,6 +21,7 @@ def test_set_get_ignore_codes(): config_dictionary = { "structure": {"dipdir_column": "azimuth2", "dip_column": "dip"}, "geology": {"unitname_column": "unitname", "alt_unitname_column": "code"}, + "fault": {'structtype_column': 'feature', 'fault_text': 'Fault'}, } with patch.object(Project, 'validate_required_inputs', return_value=None): project = Project(