Skip to content

Commit 046a73c

Browse files
committed
Fix test schema from snake to camel case
1 parent 433d908 commit 046a73c

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

tests/unit/test_schema.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,43 +5,43 @@
55
TEST_SCHEMA = {
66
"metadata": {
77
"name": "test_dataset",
8-
"api_version": "1.0.0",
9-
"created_on": "2023-01-01T00:00:00Z",
8+
"apiVersion": "1.0.0",
9+
"createdOn": "2023-01-01T00:00:00Z",
1010
},
1111
"variables": [
1212
{
1313
"name": "actual_variable",
14-
"data_type": "float32",
14+
"dataType": "float32",
1515
"dimensions": ["dim0", "dim1"],
1616
"compressor": {"name": "blosc", "level": 3},
1717
"coordinates": ["coord"],
1818
"metadata": {
19-
"chunk_grid": {
19+
"chunkGrid": {
2020
"name": "regular",
21-
"configuration": {"chunk_shape": [10, 20]},
21+
"configuration": {"chunkShape": [10, 20]},
2222
},
2323
},
2424
},
2525
{
2626
"name": "coord",
27-
"data_type": "float32",
27+
"dataType": "float32",
2828
"dimensions": ["dim0", "dim1"],
2929
"metadata": {
30-
"chunk_grid": {
30+
"chunkGrid": {
3131
"name": "regular",
32-
"configuration": {"chunk_shape": [10, 20]},
32+
"configuration": {"chunkShape": [10, 20]},
3333
},
34-
"units_v1": {"length": "m"},
34+
"unitsV1": {"length": "m"},
3535
},
3636
},
3737
{
3838
"name": "dim0",
39-
"data_type": "int32",
39+
"dataType": "int32",
4040
"dimensions": [{"name": "dim0", "size": 100}],
4141
},
4242
{
4343
"name": "dim1",
44-
"data_type": "int32",
44+
"dataType": "int32",
4545
"dimensions": [{"name": "dim1", "size": 200}],
4646
},
4747
],

0 commit comments

Comments
 (0)