Skip to content

Commit cc0b1b8

Browse files
committed
adjust module output in tests
1 parent 1865d31 commit cc0b1b8

15 files changed

+35
-20
lines changed

tests/resources/actinia_modules/add_enumeration.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@
1313
}
1414
}],
1515
"projects": [],
16-
"returns": []
16+
"returns": [],
17+
"version": "1"
1718
}

tests/resources/actinia_modules/default_value.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@
1818
}
1919
}],
2020
"projects": [],
21-
"returns": []
21+
"returns": [],
22+
"version": "1"
2223
}

tests/resources/actinia_modules/exporter.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,6 @@
8282
"subtype": "vector",
8383
"type": "string"
8484
}
85-
}]
85+
}],
86+
"version": "8.5.0dev"
8687
}

tests/resources/actinia_modules/importer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,5 +89,6 @@
8989
"type": "boolean"
9090
}
9191
}],
92-
"returns": []
92+
"returns": [],
93+
"version": "8.5.0dev"
9394
}

tests/resources/actinia_modules/index_NDVI.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@
2525
}
2626
}],
2727
"projects": [],
28-
"returns": []
28+
"returns": [],
29+
"version": "1"
2930
}

tests/resources/actinia_modules/loop.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
"id": "loop",
88
"parameters": [],
99
"projects": [],
10-
"returns": []
10+
"returns": [],
11+
"version": "1"
1112
}

tests/resources/actinia_modules/loop_simple.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
"id": "loop_simple",
88
"parameters": [],
99
"projects": [],
10-
"returns": []
10+
"returns": [],
11+
"version": "1"
1112
}

tests/resources/actinia_modules/nested_modules_test.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@
2727
"type": "array"
2828
}
2929
}, {
30-
"description": "The input source that may be a landsat scene name, a sentinel2 scene name, a postGIS database string, or an URL that points to an accessible raster or vector file [generated from import_descr_source]",
31-
"name": "url_to_geojson_point",
30+
"description": "Expression to evaluate. [generated from r.mapcalc_expression]",
31+
"name": "B04_mosaic",
3232
"optional": true,
3333
"schema": {
3434
"type": "string"
3535
}
3636
}, {
37-
"description": "Expression to evaluate. [generated from r.mapcalc_expression]",
38-
"name": "B04_mosaic",
37+
"description": "The input source that may be a landsat scene name, a sentinel2 scene name, a postGIS database string, or an URL that points to an accessible raster or vector file [generated from import_descr_source]",
38+
"name": "url_to_geojson_point",
3939
"optional": true,
4040
"schema": {
4141
"type": "string"
@@ -50,5 +50,6 @@
5050
}
5151
}],
5252
"projects": [],
53-
"returns": []
53+
"returns": [],
54+
"version": "1"
5455
}

tests/resources/actinia_modules/nested_modules_test_with_export.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,6 @@
8585
"type": "vector"
8686
}
8787
}
88-
]
88+
],
89+
"version": "1"
8990
}

tests/resources/actinia_modules/point_in_polygon.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@
1717
"projects": [
1818
"nc_spm_08"
1919
],
20-
"returns": []
20+
"returns": [],
21+
"version": "1"
2122
}

0 commit comments

Comments
 (0)