Skip to content

Commit

Permalink
fixup! EP-3352 Open-EO#34 Update process graph handling for POST /result
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Apr 9, 2020
1 parent 5d760ad commit 8d17c83
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/test_views_execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,16 @@ def test_aggregate_feature_collection(api):
api.check_result("aggregate_feature_collection.json")


def test_post_result_process_100(client):
api = ApiTester(api_version="1.0.0", client=client, impl=dummy_impl)
response = api.client.post(
path=api.url('/result'),
json={"process": {"process_graph": api.load_json("basic.json")}},
)
assert response.status_code == 200
assert response.content_length > 0


def test_missing_process_graph(api):
response = api.client.post(
path=api.url('/result'),
Expand Down

0 comments on commit 8d17c83

Please sign in to comment.