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.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/rtemsspec/tests/test_items_itemcache.py b/rtemsspec/tests/test_items_itemcache.py
index d90b1e04..0dbe0c69 100644
--- a/rtemsspec/tests/test_items_itemcache.py
+++ b/rtemsspec/tests/test_items_itemcache.py
@@ -45,9 +45,7 @@ def test_load(tmpdir):
assert os.path.exists(os.path.join(cache_dir, "spec", "d", "spec.pickle"))
assert item_cache["/d/c"]["v"] == "c"
assert item_cache["/p"]["v"] == "p"
- t = item_cache.top_level
- assert len(t) == 1
- p = t["/p"]
+ p = item_cache["/p"]
assert p["v"] == "p"
assert p.map("/p") == p
assert p.map("p") == p