Skip to content

Commit b97f002

Browse files
committed
temporal window get
1 parent ec3d3a8 commit b97f002

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stac_fastapi/elasticsearch/tests/resources/test_item.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,6 @@ def test_item_search_get_without_collections(app_client, load_test_data):
558558
)
559559

560560

561-
@pytest.mark.skip(reason="unknown")
562561
def test_item_search_temporal_window_get(app_client, load_test_data):
563562
"""Test GET search with spatio-temporal query (core)"""
564563
test_item = load_test_data("test_item.json")
@@ -567,6 +566,8 @@ def test_item_search_temporal_window_get(app_client, load_test_data):
567566
)
568567
assert resp.status_code == 200
569568

569+
time.sleep(1)
570+
570571
item_date = rfc3339_str_to_datetime(test_item["properties"]["datetime"])
571572
item_date_before = item_date - timedelta(seconds=1)
572573
item_date_after = item_date + timedelta(seconds=1)

0 commit comments

Comments
 (0)