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)
commitc5c77985c6634a13ae2c7dc19cdeca1b11d5461b
tree40a6be4c3e0fb2cd6071c4a8ecf29d95ca4f45f2
parent2cfe05e78cdd620a369788549630464ae920554c
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