Skip to content

Commit

Permalink
fix dates
Browse files Browse the repository at this point in the history
  • Loading branch information
jdries committed Aug 25, 2023
1 parent 811065f commit f7dc85a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ def test_batch_job_basic(auth_connection, api_version, tmp_path):
)
assert_batch_job(job, job_results_stac.extent.spatial.bboxes[0] == POLYGON01_BBOX)
assert_batch_job(job, job_results_stac.extent.temporal.to_dict()["interval"] == [
["2017-11-01T00:00:00Z", "2017-11-21T00:00:00Z"]
["2017-11-01T00:00:00Z", "2017-11-22T00:00:00Z"]
])

elif api_version >= "1.0.0":
Expand All @@ -635,7 +635,7 @@ def test_batch_job_basic(auth_connection, api_version, tmp_path):
assert_batch_job(job, geometry.equals_exact(POLYGON01, tolerance=0.0001))
assert_batch_job(job, job_results_metadata["bbox"] == POLYGON01_BBOX)
assert_batch_job(job, job_results_metadata["properties"]["start_datetime"] == "2017-11-01T00:00:00Z")
assert_batch_job(job, job_results_metadata["properties"]["end_datetime"] == "2017-11-21T00:00:00Z")
assert_batch_job(job, job_results_metadata["properties"]["end_datetime"] == "2017-11-22T00:00:00Z")


@pytest.mark.batchjob
Expand Down

0 comments on commit f7dc85a

Please sign in to comment.