diff --git a/decoimpact/crosscutting/delft3d_specific_data.py b/decoimpact/crosscutting/delft3d_specific_data.py index 3bcb328b..3295a8ed 100644 --- a/decoimpact/crosscutting/delft3d_specific_data.py +++ b/decoimpact/crosscutting/delft3d_specific_data.py @@ -1,3 +1,13 @@ -interfaces_name = "mesh2d_interface_z" -bed_level_name = "mesh2d_flowelem_bl" -water_level_name = "mesh2d_s1" +# This file is part of D-EcoImpact +# Copyright (C) 2022-2024 Stichting Deltares +# This program is free software distributed under the +# GNU Affero General Public License version 3.0 +# A copy of the GNU Affero General Public License can be found at +# https://github.com/Deltares/D-EcoImpact/blob/main/LICENSE.md +""" +Configuration file for hardcoded delft3d variable names +""" + +INTERFACES_NAME = "mesh2d_interface_z" +BED_LEVEL_NAME = "mesh2d_flowelem_bl" +WATER_LEVEL_NAME = "mesh2d_s1" diff --git a/tests/business/entities/rules/test_depth_average_rule.py b/tests/business/entities/rules/test_depth_average_rule.py index f215af5a..2048cc5a 100644 --- a/tests/business/entities/rules/test_depth_average_rule.py +++ b/tests/business/entities/rules/test_depth_average_rule.py @@ -38,7 +38,6 @@ def test_no_validate_error_with_correct_rule(): """Test a correct depth average rule validates without error""" # Arrange - logger = Mock(ILogger) rule = DepthAverageRule( "test_rule_name", ["foo", "hello"],