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)