# 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
--- | --- | --- | ---
43 | Method | setUp | Undocumented
46 | Method | test_create | Register and create two controllers. Test that two patterns don't
76 | Method | test_create_overridden | Register two controllers for the same path_pattern. Test that the second
105 | Method | test_decorate | Register a controller decorator to decorate a controller.
121 | Method | test_decorate_path | Register a controller decorator using a path string instead of a
139 | Method | test_decorate_unexisting_path | Register a controller decorator using a path string instead of a
157 | Method | test_decorate_multiple | Test multiple decorators.
175 | Method | test_decorate_multiple_with_errors | Test multiple decorators.
197 | Method | test_decorate_clean | Test the clean signal as used by a decorator.
224 | Method | test_decorate_clean_multiple | Test the clean signal as used by multiple decorators.
253 | Method | test_retrieve_single_controller | Test retrieval of an existing instance of a controller.
269 | Method | test_retrieve_multiple_controllers | Test retrieval of multiple controller instances that correspond to
307 | Method | test_retrieve_dropped_controllers | Test that the frontend releases controllers that are not used anymore.
327 | Method | test_create_no_wait_decorators | Test that create_controller() doesn't wait for all the decorators to be
348 | Method | test_controller_clean_wait_for_decorators | Test that after a create_controller(..., wait_for_decorators=False)

def setUp(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.