summaryrefslogtreecommitdiffstats
path: root/rtemsspec/tests/test_items_itemcache.py
diff options
context:
space:
mode:
Diffstat (limited to 'rtemsspec/tests/test_items_itemcache.py')
-rw-r--r--rtemsspec/tests/test_items_itemcache.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/rtemsspec/tests/test_items_itemcache.py b/rtemsspec/tests/test_items_itemcache.py
index 2c24d669..864ef70a 100644
--- a/rtemsspec/tests/test_items_itemcache.py
+++ b/rtemsspec/tests/test_items_itemcache.py
@@ -130,6 +130,9 @@ def test_item_mapper(tmpdir):
config["resolve-proxies"] = True
item_cache = ItemCache(config)
item = item_cache["/p"]
+ assert item.type == "other"
+ item_cache.set_types("/spec/root")
+ assert item.type == "other"
base_mapper = ItemMapper(item)
assert base_mapper["d/c:v"] == "c"
mapper = ItemMapper(item)