Skip to content

Commit 01b6531

Browse files
committed
test: give the test characteristic its parent category
Every characteristic branches off the Characteristic category, and the schema marks the link required - which oold enforces since the descriptor binding.
1 parent ae8cf92 commit 01b6531

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tests/integration/store_and_load_test.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ def test_characteristic_creation(wiki_domain, wiki_username, wiki_password):
215215
my_characteristic = model.CharacteristicType(
216216
uuid="efad8086-4a76-47ca-b278-f5f944e5754b",
217217
name="TestCharacteristic",
218+
subclass_of=["Category:OSW93ccae36243542ceac6c951450a81d47"], # Characteristic
218219
label=[model.Label(text="Test Characteristic")],
219220
description=[
220221
model.Description(text="A test characteristic for the osw python package")

0 commit comments

Comments
 (0)