diff --git a/tests/test_dispersion/test_dispersion.py b/tests/test_dispersion/test_dispersion.py index 76319e8..9480882 100644 --- a/tests/test_dispersion/test_dispersion.py +++ b/tests/test_dispersion/test_dispersion.py @@ -13,7 +13,7 @@ async def dispersion_case(run_case): @pytest.mark.asyncio_cooperative -async def test_dispersion(dispersion_case): +def test_dispersion(dispersion_case): alphaT = 5e-5 field = np.asarray(dispersion_case["50"]["ampholyte.TARTRAZINE"].getContent()["internalField"].value()) diff --git a/tests/test_exhaustible/test_exhaustible.py b/tests/test_exhaustible/test_exhaustible.py index d267aad..180cdb2 100644 --- a/tests/test_exhaustible/test_exhaustible.py +++ b/tests/test_exhaustible/test_exhaustible.py @@ -12,7 +12,7 @@ async def exhaustible_case(run_case): @pytest.mark.asyncio_cooperative -async def test_exhaustion(exhaustible_case): +def test_exhaustion(exhaustible_case): assert len(exhaustible_case.times) >= 4 remainings = [] @@ -35,7 +35,7 @@ async def test_exhaustion(exhaustible_case): assert all(prev >= curr for prev, curr in zip(remainings[:-1], remainings[1:])) @pytest.mark.asyncio_cooperative -async def test_infiltration(exhaustible_case): +def test_infiltration(exhaustible_case): theta0 = np.asarray(exhaustible_case[0]["theta"].getContent()["internalField"].value()) dV = 30e-3*10e-3*0.18e-3/5000 amount = 2e-8 @@ -53,7 +53,7 @@ async def test_infiltration(exhaustible_case): assert np.sum(theta - theta0)*dV + remaining == pytest.approx(amount) @pytest.mark.asyncio_cooperative -async def test_exhausted_log(exhaustible_case): +def test_exhausted_log(exhaustible_case): log = (Path(exhaustible_case.name) / "log.moistureDiffusivityFoam").read_text() assert log.count("patch left has been exhausted") == 1 diff --git a/tests/test_parallelization/test_parallelization.py b/tests/test_parallelization/test_parallelization.py index c408c0e..d7c8f62 100644 --- a/tests/test_parallelization/test_parallelization.py +++ b/tests/test_parallelization/test_parallelization.py @@ -17,7 +17,7 @@ async def parallel_case(run_case): @pytest.mark.asyncio_cooperative @pytest.mark.parametrize("field", ["theta", "U", "C"]) -async def test_parallelization(serial_case, parallel_case, field): +def test_parallelization(serial_case, parallel_case, field): assert len(serial_case.times) == len(parallel_case.times) > 1 for t in serial_case.times[1:]: diff --git a/tests/test_reaction/test_reaction.py b/tests/test_reaction/test_reaction.py index 5337b98..5e1a4c7 100644 --- a/tests/test_reaction/test_reaction.py +++ b/tests/test_reaction/test_reaction.py @@ -12,7 +12,7 @@ async def reaction_case(run_case): @pytest.mark.asyncio_cooperative -async def test_reaction(reaction_case): +def test_reaction(reaction_case): a0 = np.asarray(reaction_case["0"]["A"].getContent()["internalField"].value()) b0 = np.asarray(reaction_case["0"]["B"].getContent()["internalField"].value()) c0 = np.asarray(reaction_case["0"]["C"].getContent()["internalField"].value()) diff --git a/tests/test_retardation/test_retardation.py b/tests/test_retardation/test_retardation.py index 598c656..1962666 100644 --- a/tests/test_retardation/test_retardation.py +++ b/tests/test_retardation/test_retardation.py @@ -10,7 +10,7 @@ async def retardation_case(run_case): @pytest.mark.asyncio_cooperative -async def test_retardation(retardation_case): +def test_retardation(retardation_case): a5 = retardation_case["5"]["A"].getContent()["internalField"].value() b10 = retardation_case["10"]["B"].getContent()["internalField"].value() diff --git a/tests/test_validity/test_validity.py b/tests/test_validity/test_validity.py index 6f42fe8..b54aa5e 100644 --- a/tests/test_validity/test_validity.py +++ b/tests/test_validity/test_validity.py @@ -15,14 +15,14 @@ async def letd_case(run_case): @pytest.mark.asyncio_cooperative -async def test_letxs(letxs_case): +def test_letxs(letxs_case): actual = letxs_case["100"]["theta"].getContent()["internalField"].value() expected = letxs_case["100"]["theta.expected"].getContent()["internalField"].value() assert actual == pytest.approx(expected, abs=5e-2) @pytest.mark.asyncio_cooperative -async def test_letd(letd_case): +def test_letd(letd_case): actual = letd_case["100"]["theta"].getContent()["internalField"].value() expected = letd_case["100"]["theta.expected"].getContent()["internalField"].value() diff --git a/tests/test_velocity/test_velocity.py b/tests/test_velocity/test_velocity.py index 6955b3f..e98d6cb 100644 --- a/tests/test_velocity/test_velocity.py +++ b/tests/test_velocity/test_velocity.py @@ -12,7 +12,7 @@ async def velocity_case(run_case): @pytest.mark.asyncio_cooperative -async def test_infiltration(velocity_case): +def test_infiltration(velocity_case): theta0 = np.asarray(velocity_case[0]["theta"].getContent()["internalField"].value()) U = velocity_case[0]["U"].getContent()["boundaryField"]["left"]["value"].value()[0] h = 30e-3/5000