Skip to content

Commit 715dc52

Browse files
committed
adjust register input
1 parent a07f985 commit 715dc52

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

tests/test_actinia_strds_management.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,13 @@ def test_get_strds_info(self) -> None:
141141
NEW_MAPSET_NAME
142142
].upload_raster(UPLOAD_RASTER_NAME, str(tif_path))
143143
strds[STRDS_NAME].register_raster_layer(
144-
UPLOAD_RASTER_NAME,
145-
"2023-01-01 00:00:00",
144+
[
145+
{
146+
"name": UPLOAD_RASTER_NAME,
147+
"start_time": "2023-01-01 00:00:00",
148+
"end_time": "2023-01-02 00:00:00",
149+
},
150+
],
146151
)
147152
resp = strds[STRDS_NAME].get_strds_raster_layers()
148153
assert isinstance(resp, list), "response is not a list"

0 commit comments

Comments
 (0)