diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-05-05 14:41:19 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-05-08 21:58:56 +0200 |
commit | 0fda7921d872dad0da4c70673b98610409f33aff (patch) | |
tree | 28d858ef431e7520a4ba8690a253a408718281cb /rtemsspec/tests/test_items_item.py | |
parent | spec: Fix typo (diff) | |
download | rtems-central-0fda7921d872dad0da4c70673b98610409f33aff.tar.bz2 |
items: Add Item.spec_2
Diffstat (limited to 'rtemsspec/tests/test_items_item.py')
-rw-r--r-- | rtemsspec/tests/test_items_item.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rtemsspec/tests/test_items_item.py b/rtemsspec/tests/test_items_item.py index efbe4b7d..2670b172 100644 --- a/rtemsspec/tests/test_items_item.py +++ b/rtemsspec/tests/test_items_item.py @@ -67,8 +67,9 @@ def test_uid(): def test_spec(): - item = Item(EmptyItemCache(), "x", {}) - assert item.spec == "spec:x" + item = Item(EmptyItemCache(), "x/y/z", {}) + assert item.spec == "spec:x/y/z" + assert item.spec_2 == "spec:x/\u200by/\u200bz" def test_contains(): |