Skip to content

Commit

Permalink
Fix for python 3.8 compatibility in test_views.py
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Apr 25, 2024
1 parent 1adb887 commit d438dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1704,7 +1704,7 @@ def test_create_job_options_update_start_empty(self, api100, requests_mock, back
requests_mock.get(backend1 + "/collections", json={"collections": [{"id": "S2"}]})

def post_jobs(request: requests.Request, context):
assert request.json() == {"process": {"process_graph": pg}} | expected
assert request.json() == {"process": {"process_graph": pg}, **expected}
context.headers["Location"] = backend1 + "/jobs/th3j0b"
context.headers["OpenEO-Identifier"] = "th3j0b"
context.status_code = 201
Expand Down

0 comments on commit d438dda

Please sign in to comment.