Skip to content

Commit 7b8f721

Browse files
add relax parameter for test
1 parent c26b113 commit 7b8f721

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_bctides.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def test_write_bctides_tracer_constant_list(tmp_path):
192192
"""Test tracer with constant list as source."""
193193
mesh, bc_yaml = make_dummy_mesh_and_bc_yaml(num_boundaries=1)
194194
bc_yaml["bctides"]["open_boundaries"][0]["tracers"] = [
195-
{"tracer": "GEN", "source": [1.0, 2.0, 3.0], "nudge": 0.5}
195+
{"tracer": "GEN", "source": [1.0, 2.0, 3.0], "nudge": 0.5, "relax": 0.5}
196196
]
197197
b = boundary(mesh, bc_yaml)
198198
out_file = tmp_path / "bctides_tracer_list.in"
@@ -204,7 +204,7 @@ def test_write_bctides_tracer_constant_scalar(tmp_path):
204204
"""Test tracer with constant scalar as source."""
205205
mesh, bc_yaml = make_dummy_mesh_and_bc_yaml(num_boundaries=1)
206206
bc_yaml["bctides"]["open_boundaries"][0]["tracers"] = [
207-
{"tracer": "GEN", "source": 5.0, "nudge": 0.5}
207+
{"tracer": "GEN", "source": 5.0, "nudge": 0.5, "relax": 0.5}
208208
]
209209
b = boundary(mesh, bc_yaml)
210210
out_file = tmp_path / "bctides_tracer_scalar.in"

0 commit comments

Comments
 (0)