diff --git a/integration-tests/equations/test_boussinesq.py b/integration-tests/equations/test_boussinesq.py index 8de65aef6..b686e38f7 100644 --- a/integration-tests/equations/test_boussinesq.py +++ b/integration-tests/equations/test_boussinesq.py @@ -108,14 +108,14 @@ def run_boussinesq(tmpdir, compressible): checkpoint=True) check_mesh = pick_up_mesh(check_output, mesh_name) check_domain = Domain(check_mesh, dt, "CG", 1) - check_eqn = BoussinesqEquations(check_domain, parameters, compressible) + check_parameters = BoussinesqParameters(check_mesh) + check_eqn = BoussinesqEquations(check_domain, check_parameters, compressible) check_io = IO(check_domain, check_output) check_stepper = SemiImplicitQuasiNewton(check_eqn, check_io, [], []) check_stepper.io.pick_up_from_checkpoint(check_stepper.fields) return stepper, check_stepper - @pytest.mark.parametrize("compressible", [True, False]) def test_boussinesq(tmpdir, compressible): diff --git a/integration-tests/equations/test_sw_fplane.py b/integration-tests/equations/test_sw_fplane.py index 711adb7bb..c64af6521 100644 --- a/integration-tests/equations/test_sw_fplane.py +++ b/integration-tests/equations/test_sw_fplane.py @@ -114,14 +114,14 @@ def run_sw_fplane(tmpdir): checkpoint=True) check_mesh = pick_up_mesh(check_output, mesh_name) check_domain = Domain(check_mesh, dt, 'RTCF', 1) - check_eqn = ShallowWaterEquations(check_domain, parameters, fexpr=fexpr) + check_parameters = ShallowWaterParameters(check_mesh, H=H, g=g) + check_eqn = ShallowWaterEquations(check_domain, check_parameters, fexpr=fexpr) check_io = IO(check_domain, output=check_output) check_stepper = SemiImplicitQuasiNewton(check_eqn, check_io, [], []) check_stepper.io.pick_up_from_checkpoint(check_stepper.fields) return stepper, check_stepper - def test_sw_fplane(tmpdir): dirname = str(tmpdir)