Skip to content

Commit 5625f39

Browse files
committed
update test
1 parent 8122a24 commit 5625f39

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

stac_fastapi/tests/resources/test_item.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -829,6 +829,5 @@ async def test_search_datetime_validation_errors(app_client):
829829
resp = await app_client.post("/search", json=body)
830830
assert resp.status_code == 400
831831

832-
# Getting this instead ValueError: Invalid RFC3339 datetime.
833-
# resp = await app_client.get("/search?datetime={}".format(dt))
834-
# assert resp.status_code == 400
832+
resp = await app_client.get("/search?datetime={}".format(dt))
833+
assert resp.status_code == 400

0 commit comments

Comments
 (0)