Make selftest dialogue mutable
authorJeremy Stanley <fungi@yuggoth.org>
Sat, 3 Oct 2020 17:45:47 +0000 (17:45 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Sun, 4 Oct 2020 22:37:36 +0000 (22:37 +0000)
commitb27c62e7d11d4c221666e7e0241a8ea51902be88
tree93222e65bc4ae9004c9f40eb230c28872e752498
parent4952650f4d863af5214d05dc1bca896800d9baa6
Make selftest dialogue mutable

In order to support future selectivity of test sets, replace the
immutable tuple of all tests with a dict keyed by test object.
Iterate over a copy of it so that the original is not altered when
tests are eventually removed during runtime. For Python 3.5 and
earlier, use OrderedDict so that test order is explicitly preserved.
mudpy/tests/selftest.py