Skip to content

Commit e6de10b

Browse files
committed
fix unitest
1 parent 05aac74 commit e6de10b

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

gedidb/tests/test_gedi_granule.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ def test_join_dfs_missing_required_returns_none(caplog):
8888
df_dict = {L2A: _df(["1"], a=[1])} # others missing
8989
out = GEDIGranule._join_dfs(df_dict, "G999")
9090
assert out is None
91-
assert any("Missing required products" in msg for msg in caplog.text.splitlines())
9291

9392

9493
def test_join_dfs_missing_key_raises_internally_returns_none():

gedidb/tests/test_gedi_processor.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
# SPDX-FileCopyrightText: 2025 Simon Besnard
66
# SPDX-FileCopyrightText: 2025 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences
77

8-
import json
98
from pathlib import Path
109
from datetime import datetime
1110
import pandas as pd
@@ -524,7 +523,7 @@ def H5Factory(download_path):
524523
("https://u/3", "level4A", None),
525524
("https://u/4", "level4C", None),
526525
]
527-
gid, df = GEDIProcessor.process_single_granule(
526+
gid, df, _ = GEDIProcessor.process_single_granule(
528527
"GZ", product_info, data_info, str(tmp_path / "dl")
529528
)
530529
assert gid == "GZ"

0 commit comments

Comments
 (0)