Skip to content

Commit

Permalink
update unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
John-Desmond committed Dec 7, 2023
1 parent 7126a11 commit 938007b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions groclient/client_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,10 @@ def mock_get_area_weighted_series(
series_name,
weight_names,
region_id,
start_date,
end_date,
limit,
level,
method,
latest_date_only,
metadata
Expand Down
8 changes: 8 additions & 0 deletions groclient/lib_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1149,6 +1149,10 @@ def test_get_area_weighted_series(mock_requests_get):
"NDVI_8day",
["Barley (ha)", "Corn (ha)"],
1215,
None,
None,
"all",
None,
"sum",
False,
False
Expand All @@ -1163,6 +1167,10 @@ def test_get_area_weighted_series(mock_requests_get):
"NDVI_8day",
["Barley (ha)", "Corn (ha)"],
[1215],
None,
None,
"all",
None,
"sum",
False,
True
Expand Down

0 comments on commit 938007b

Please sign in to comment.