From 7fd47bc04cbfb46cefa7f7a453f4160b6bc7e415 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 20 Dec 2024 16:51:54 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- disdrodb/tests/test_api/test_api_path.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/disdrodb/tests/test_api/test_api_path.py b/disdrodb/tests/test_api/test_api_path.py index 7590c2f9..dd08141a 100644 --- a/disdrodb/tests/test_api/test_api_path.py +++ b/disdrodb/tests/test_api/test_api_path.py @@ -87,14 +87,14 @@ def test_define_l0b_filename(product): dims=["time"], coords={"time": pd.date_range(start=start_date, end=end_date), "sample_interval": sample_interval}, ) - + # Define expected results # TODO: MODIFY ! - if product == "L0B": + if product == "L0B": expected_name = f"{product}.CAMPAIGN_NAME.STATION_NAME.s20190326000000.e20210208000000.{PRODUCT_VERSION}.nc" - else: + else: expected_name = f"{product}.{sample_interval_str}.CAMPAIGN_NAME.STATION_NAME.s20190326000000.e20210208000000.{PRODUCT_VERSION}.nc" - + # Test the function define_filename_func = define_l0b_filename if product == "L0B" else define_l0c_filename res = define_filename_func(ds, campaign_name, station_name)