From c14670386da80133ccb9cd6e961295c89d0c78fa Mon Sep 17 00:00:00 2001 From: Sarah Jordan Date: Fri, 15 Mar 2024 09:02:08 -0500 Subject: [PATCH] test update --- tests/test_3_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_3_model.py b/tests/test_3_model.py index f296f80..ed4163e 100644 --- a/tests/test_3_model.py +++ b/tests/test_3_model.py @@ -190,7 +190,7 @@ def test_computation_no_dynamics(model: Model) -> None: model.track_dynamic_variables = False ds = model.increment_timestep() assert isinstance(ds, xr.Dataset) - assert len(model.dataset[model.time_dim]) == 2 + assert model.dataset.sel(time_step=1).isnull().any() == False assert 'dynamic_0' not in model.dataset.data_vars