enthought/traits — pull request #31 by itziakos (2012-10-29 17:04:21+00:00)
Title: add a unittest.TestCase mixing class to provide easy assertions on trait changes

This pr adds a mixin class to be used in unittest.TestCases to simplify testing for event and trait changes in a HasTraits class. The assertion methods follow the unittest.assertRaises example and can be used both as functions and context managers.