-
Type: Task
-
Resolution: Fixed
-
Priority: Trivial - P5
-
Affects Version/s: None
-
Component/s: None
-
None
The test suite uses the EventListener class extensively. It would be nice to refactor the api to make the tests less cumbersome to read and write, eg this:
self.assertEqual(0, len(listener.results["failed"]))
could become:
self.assertEqual(0, len(listener.failed_events))