twisted.python.test.test_constants._FlagsTestsMixin(object)
class documentationtwisted.python.test.test_constants
(View In Hierarchy)
Known subclasses: twisted.python.test.test_constants.FlagConstantNegationTests, twisted.python.test.test_constants.FlagConstantSimpleAndTests, twisted.python.test.test_constants.FlagConstantSimpleExclusiveOrTests, twisted.python.test.test_constants.FlagConstantSimpleOrTests, twisted.python.test.test_constants.FlagsTests
Mixin defining setup code for any tests for Flags
subclasses.
Instance Variable | FXF | A Flags
subclass created for each test method. |
Method | setUp | Create a fresh new Flags subclass
for each unit test to use. Since Flags is
stateful, re-using the same subclass across test methods makes exercising
all of the implementation code paths difficult. |