Skip to content

Commit

Permalink
Update to recent openeo-python-driver changes
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Jul 17, 2024
1 parent f6335ef commit 646b1d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"requests",
"attrs",
"openeo>=0.27.0",
"openeo_driver>=0.101.0.dev",
"openeo_driver>=0.107.1.dev",
"flask~=2.0",
"gunicorn~=20.0",
"python-json-logger>=2.0.0",
Expand Down
7 changes: 4 additions & 3 deletions tests/partitionedjobs/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def test_create_job_basic(self, api100, zk_db, dummy1):
"user_id": TEST_USER,
"created": self.now.epoch,
"process": P35,
"metadata": {"title": "3+5", "description": "Addition of 3 and 5", "plan": "free"},
"metadata": {"title": "3+5", "description": "Addition of 3 and 5", "plan": "free", "log_level": "info"},
"job_options": {"split_strategy": "flimsy"},
}
assert zk_db.get_pjob_status(user_id=TEST_USER, pjob_id=pjob_id) == {
Expand Down Expand Up @@ -528,6 +528,7 @@ def test_create_job_basic(self, flask_app, api100, zk_db, dummy1):
"title": "Mol",
"plan": "free",
"_tiling_geometry": DictSubSet({"global_spatial_extent": DictSubSet({"west": 4.9})}),
"log_level": "info",
},
"job_options": {"tile_grid": "utm-10km"},
}
Expand Down Expand Up @@ -717,7 +718,7 @@ def test_create_job_simple(self, flask_app, api100, zk_db, dummy1):
"user_id": TEST_USER,
"created": self.now.epoch,
"process": {"process_graph": pg},
"metadata": {},
"metadata": {"log_level": "info"},
"job_options": {"split_strategy": "crossbackend"},
"result_jobs": ["main"],
}
Expand Down Expand Up @@ -794,7 +795,7 @@ def test_create_job_basic(self, flask_app, api100, zk_db, dummy1, requests_mock)
"user_id": TEST_USER,
"created": self.now.epoch,
"process": {"process_graph": pg},
"metadata": {},
"metadata": {"log_level": "info"},
"job_options": {"split_strategy": "crossbackend"},
"result_jobs": ["main"],
}
Expand Down

0 comments on commit 646b1d7

Please sign in to comment.