From b9dc46d9bb1b770816d114f2581209f1999558fc Mon Sep 17 00:00:00 2001 From: Loickemajou <88109303+Loickemajou@users.noreply.github.com> Date: Mon, 12 Aug 2024 15:17:51 +0200 Subject: [PATCH] testing the modified nowcasts interface --- pysteps/tests/test_interfaces.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pysteps/tests/test_interfaces.py b/pysteps/tests/test_interfaces.py index 52c0eda56..2bbeb0f2e 100644 --- a/pysteps/tests/test_interfaces.py +++ b/pysteps/tests/test_interfaces.py @@ -390,9 +390,11 @@ def test_nowcasts_interface(): for method in expected_methods: if method == "dgmr": - assert ( - method in nowcasts_in_interface - ), f"Method {method} not found in discovered nowcasts. Please intall dgmr_plugin through 'pip install dgmr_plugin'" + if method not in nowcasts_in_interface: + print( + f"Warning: Method {method} not found in discovered nowcasts. Please install dgmr_plugin through 'pip install dgmr_plugin'" + ) + continue assert ( method in nowcasts_in_interface ), f"Method {method} not found in discovered nowcasts."