From bd4ffdb3e950f43f4eea0151d19d07f621eb14e0 Mon Sep 17 00:00:00 2001 From: LukasGold <41064839+LukasGold@users.noreply.github.com> Date: Wed, 11 Nov 2026 15:40:36 +0100 Subject: [PATCH] test: set subclass_of for oold 2 in the jsonschema tests --- tests/test_store_entity_keeps_jsonschema.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_store_entity_keeps_jsonschema.py b/tests/test_store_entity_keeps_jsonschema.py index 630c0941..877eb6f2 100644 --- a/tests/test_store_entity_keeps_jsonschema.py +++ b/tests/test_store_entity_keeps_jsonschema.py @@ -122,8 +122,9 @@ def _characteristic(): uuid="efad8086-4a76-47ca-b278-f5f944e5754b", name="TestCharacteristic", label=[{"text": "Test Characteristic"}], - # the default resolves a superclass from a wiki - subclass_of=[], + # the default resolves a superclass from a wiki, and oold 2 rejects an + # empty list for this required field + subclass_of=[CHARACTERISTIC_TYPE], )