summaryrefslogtreecommitdiff
path: root/rtemsspec/tests/test_items_item.py
diff options
context:
space:
mode:
Diffstat (limited to 'rtemsspec/tests/test_items_item.py')
-rw-r--r--rtemsspec/tests/test_items_item.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/rtemsspec/tests/test_items_item.py b/rtemsspec/tests/test_items_item.py
index 1f107e56..8208bb9c 100644
--- a/rtemsspec/tests/test_items_item.py
+++ b/rtemsspec/tests/test_items_item.py
@@ -154,6 +154,9 @@ def test_children():
assert len(children) == 0
links = [link for link in parent.links_to_children()]
assert len(links) == 1
+ assert not links[0] < links[0]
+ with pytest.raises(TypeError):
+ links[0] < 0
assert links[0].item == child
assert links[0]["a"] == "b"
assert links[0].role == "c"