diff --git a/tests/data/graphs/fit_curve.json b/tests/data/graphs/fit_curve.json index 64d5772..9fb552e 100644 --- a/tests/data/graphs/fit_curve.json +++ b/tests/data/graphs/fit_curve.json @@ -108,7 +108,7 @@ }, "format":"NetCDF", "options":{ - + } }, "result":true diff --git a/tests/test_pg_parser.py b/tests/test_pg_parser.py index 1e7ef77..75e7edc 100644 --- a/tests/test_pg_parser.py +++ b/tests/test_pg_parser.py @@ -32,11 +32,12 @@ def test_full_parse(process_graph_path): parsed_graph_from_file.plot() + def test_fit_curve_parse(): flat_process_graph = json.load(open(TEST_DATA_DIR / "graphs" / "fit_curve.json")) parsed_graph = OpenEOProcessGraph.from_json(json.dumps(flat_process_graph)) assert isinstance(parsed_graph, OpenEOProcessGraph) - + # Dry-run to_callable after parsing mock_process_registry = { process_id: Process({}, lambda process_id: logger.debug(process_id), "predefined")