summaryrefslogtreecommitdiffstats
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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rtemsspec/tests/test_items_item.py b/rtemsspec/tests/test_items_item.py
index a834097b..1f107e56 100644
--- a/rtemsspec/tests/test_items_item.py
+++ b/rtemsspec/tests/test_items_item.py
@@ -182,10 +182,10 @@ def test_parents():
child["_enabled"] = True
parent = Item(item_cache, "p", {"links": []})
parent["_enabled"] = True
- item_cache._items["p"] = parent
+ item_cache["p"] = parent
parent_2 = Item(EmptyItemCache(), "p2", {})
parent_2["_enabled"] = False
- item_cache._items["p2"] = parent_2
+ item_cache["p2"] = parent_2
child.init_parents(item_cache)
for link in child.links_to_parents():
link.item.add_link_to_child(Link.create(link, child))