Changeset 6ef15af in rtems-central for rtemsspec/tests/test_items_itemcache.py


Ignore:
Timestamp:
01/22/21 05:39:55 (16 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
6f5da22
Parents:
0619f08
git-author:
Sebastian Huber <sebastian.huber@…> (01/22/21 05:39:55)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/22/21 05:53:33)
Message:

items: Improve identifier to item error message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtemsspec/tests/test_items_itemcache.py

    r0619f08 r6ef15af  
    162162    with pytest.raises(ValueError, match=match):
    163163        mapper.substitute("${}", item, "blub")
     164    match = r"item 'boom' relative to spec:/p specified by 'boom:bam' does not exist"
     165    with pytest.raises(ValueError, match=match):
     166        mapper.map("boom:bam", item, "blub")
    164167
    165168
Note: See TracChangeset for help on using the changeset viewer.