From 62259ae6003d74df776cf2fd812dabc3be8fe1fd Mon Sep 17 00:00:00 2001 From: Tor-Einar Skog <tor-einar.skog@nibio.no> Date: Mon, 20 Feb 2023 16:24:53 +0100 Subject: [PATCH] Test update. Bump dependency to vips-common --- pyproject.toml | 2 +- tests/test_reference_model.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 73e74ab..5b3d362 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,7 @@ dependencies = [ "pydantic", "pytz", "pandas", - "vipscore_common @ git+https://gitlab.nibio.no/VIPS/vipscore-python-common.git@0.2.0" + "vipscore_common @ git+https://gitlab.nibio.no/VIPS/vipscore-python-common.git@0.2.1" ] requires-python = ">=3.9" diff --git a/tests/test_reference_model.py b/tests/test_reference_model.py index 32d5798..13b869a 100644 --- a/tests/test_reference_model.py +++ b/tests/test_reference_model.py @@ -58,7 +58,7 @@ class TestReferenceModel(unittest.TestCase): self.assertIsNotNone(result_list) last_result = result_list[len(result_list)-1] self.assertIsNotNone(result_list[0].valid_time_start) - self.assertEqual(555.8507083333333, last_result.all_values["TMDD"]) + self.assertEqual(555.8507083333333, last_result.get_value("TMDD")) def test_get_model_id(self): """ -- GitLab