Fix facets method to give new-style relative names
authorJeremy Stanley <fungi@yuggoth.org>
Sat, 29 Jul 2017 15:05:26 +0000 (15:05 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Sat, 29 Jul 2017 15:05:26 +0000 (15:05 +0000)
commit6c702cf838cfe7ae7b8f993b172dfdea6bafc802
tree40a6be4c3e0fb2cd6071c4a8ecf29d95ca4f45f2
parent9d92e6288e8e14a7213912b6480e33a72392af07
Fix facets method to give new-style relative names

For new-style elements correct the facets method to return short
(relative) key names, maintaining parity with old-style elements.
Add a new-style element to the "show element" selftest so that we
can make sure it won't regress.
mudpy/misc.py
mudpy/tests/selftest.py