Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 20, 2024
1 parent 51c8df4 commit 7fd47bc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions disdrodb/tests/test_api/test_api_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 !

Check notice on line 92 in disdrodb/tests/test_api/test_api_path.py

View check run for this annotation

codefactor.io / CodeFactor

disdrodb/tests/test_api/test_api_path.py#L92

Unresolved comment '# TODO: MODIFY !' (C100)
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)
Expand Down

0 comments on commit 7fd47bc

Please sign in to comment.