class documentation
class _ConstantsTestsMixin: (source)
Known subclasses: twisted.python.test.test_constants.FlagsTests
, twisted.python.test.test_constants.NamesTests
, twisted.python.test.test_constants.ValuesTests
Mixin defining test helpers common to multiple types of constants collections.
Method | _initialized |
Assert that container._enumerants does not change as a side-effect of one of its attributes being accessed. |
Method | _not |
Assert that an attempt to instantiate the constants class raises TypeError. |