Class e.p.p.t.t.TestPigmentFrontendExtensionMixin(TestCase):

Part of elisa.plugins.pigment.tests.test_pigment_frontend View In Hierarchy

No class docstring
Line # Kind Name Docs
80 Method setUp Undocumented
84 Method tearDown Undocumented
87 Method test_create Register and create two controllers. Test that two patterns don't
117 Method test_create_overridden Register two controllers for the same path_pattern. Test that the second
146 Method test_decorate Register a controller decorator to decorate a controller.
162 Method test_decorate_path Register a controller decorator using a path string instead of a
180 Method test_decorate_unexisting_path Register a controller decorator using a path string instead of a
198 Method test_decorate_multiple Test multiple decorators.
216 Method test_decorate_multiple_with_errors Test multiple decorators.
238 Method test_decorate_clean Test the clean signal as used by a decorator.
265 Method test_decorate_clean_multiple Test the clean signal as used by multiple decorators.
294 Method test_retrieve_single_controller Test retrieval of an existing instance of a controller.
310 Method test_retrieve_multiple_controllers Test retrieval of multiple controller instances that correspond to
348 Method test_retrieve_dropped_controllers Test that the frontend releases controllers that are not used anymore.
368 Method test_create_no_wait_decorators Test that create_controller() doesn't wait for all the decorators to be
389 Method test_controller_clean_wait_for_decorators Test that after a create_controller(..., wait_for_decorators=False)
def setUp(self):
Undocumented
def tearDown(self):
Undocumented
def test_create(self):
Register and create two controllers. Test that two patterns don't interfere with each other.
def test_create_overridden(self):
Register two controllers for the same path_pattern. Test that the second controller overrides the first.
def test_decorate(self):
Register a controller decorator to decorate a controller.
def test_decorate_path(self):
Register a controller decorator using a path string instead of a callable.
def test_decorate_unexisting_path(self):
Register a controller decorator using a path string instead of a callable.
def test_decorate_multiple(self):
Test multiple decorators.
def test_decorate_multiple_with_errors(self):
Test multiple decorators.
def test_decorate_clean(self):
Test the clean signal as used by a decorator.
def test_decorate_clean_multiple(self):
Test the clean signal as used by multiple decorators.
def test_retrieve_single_controller(self):
Test retrieval of an existing instance of a controller.
def test_retrieve_multiple_controllers(self):
Test retrieval of multiple controller instances that correspond to paths with a common part.
def test_retrieve_dropped_controllers(self):
Test that the frontend releases controllers that are not used anymore.
def test_create_no_wait_decorators(self):
Test that create_controller() doesn't wait for all the decorators to be finished before finishing.
def test_controller_clean_wait_for_decorators(self):
Test that after a create_controller(..., wait_for_decorators=False) controller.clean() does wait for the decorators to finish so that the reactor is not left unclean.
API Documentation for Elisa Media Center, generated by pydoctor at 2008-10-27 18:31:59.