Skip to content

Commit bd4ffdb

Browse files
committed
test: set subclass_of for oold 2 in the jsonschema tests
1 parent 8671be4 commit bd4ffdb

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎tests/test_store_entity_keeps_jsonschema.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,9 @@ def _characteristic():
122122
uuid="efad8086-4a76-47ca-b278-f5f944e5754b",
123123
name="TestCharacteristic",
124124
label=[{"text": "Test Characteristic"}],
125-
# the default resolves a superclass from a wiki
126-
subclass_of=[],
125+
# the default resolves a superclass from a wiki, and oold 2 rejects an
126+
# empty list for this required field
127+
subclass_of=[CHARACTERISTIC_TYPE],
127128
)
128129

129130

0 commit comments

Comments
 (0)