Skip to content

Commit b10633d

Browse files
add test
1 parent 9caa2ec commit b10633d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/data/graphs/fit_curve.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
},
109109
"format":"NetCDF",
110110
"options":{
111-
111+
112112
}
113113
},
114114
"result":true

tests/test_pg_parser.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,12 @@ def test_full_parse(process_graph_path):
3232

3333
parsed_graph_from_file.plot()
3434

35+
3536
def test_fit_curve_parse():
3637
flat_process_graph = json.load(open(TEST_DATA_DIR / "graphs" / "fit_curve.json"))
3738
parsed_graph = OpenEOProcessGraph.from_json(json.dumps(flat_process_graph))
3839
assert isinstance(parsed_graph, OpenEOProcessGraph)
39-
40+
4041
# Dry-run to_callable after parsing
4142
mock_process_registry = {
4243
process_id: Process({}, lambda process_id: logger.debug(process_id), "predefined")

0 commit comments

Comments
 (0)