def test_detach_listener_returns_instance_of_Abstract(self): a = Abstract().attach_listener('a', None) self.assertTrue(isinstance(a.detach_listener('a'), Abstract))
def test_detach_listener_expects_route_to_has_handler_attacher(self): a = Abstract().attach_listener('a', None) self.assertFalse(a.detach_listener('a') is None)