# Class e.c.t.t.TestManager(ElisaTestCase):

Part of elisa.core.tests.test_manager View In Hierarchy

No class docstring

Line # | Kind | Name | Docs
--- | --- | --- | ---
34 | Method | setUp | Undocumented
45 | Method | tearDown | Undocumented
50 | Method | test_component_start | test if start gets passed through correctly
58 | Method | test_component_stop | test if stop gets passed through correctly
67 | Method | test_load_components_empty_list | test the load_components method with an empty list
82 | Method | test_load_components | test if the load_components method works as expected in the simple case
96 | Method | test_load_componentss_with_a_wrong_provider | test if the chain of loading providers goes on, even one fails
111 | Method | patch_application | Setup common.application, saving the old application object.
138 | Method | unpatch_application | Restore the application object saved in patch_application().
145 | Method | test_register_unregister | just make sure that registering and unregistering works as expected
167 | Method | test_unregister_of_noncomponent_fails | try to unregister a not registered component and make sure that it

Inherited from ElisaTestCase:

Line # | Kind | Name | Docs
--- | --- | --- | ---
115 | Method | __init__ | Undocumented
132 | Method | _boot | Undocumented
146 | Method | check_called | Undocumented

def setUp(self):
overrides elisa.core.tests.elisa_test_case.ElisaTestCase.setUp
Undocumented
def tearDown(self):
Undocumented
def test_component_start(self):
test if start gets passed through correctly

def test_component_stop(self):
test if stop gets passed through correctly

def test_load_components_empty_list(self):
test the load_components method with an empty list

def test_load_components(self):
test if the load_components method works as expected in the simple case

def test_load_componentss_with_a_wrong_provider(self):
test if the chain of loading providers goes on, even one fails

def patch_application(self):

Setup common.application, saving the old application object.

Make common.application a generic object so we can set common.application.config and common.application.plugin_registry

def unpatch_application(self):
Restore the application object saved in patch_application().

def test_register_unregister(self):
just make sure that registering and unregistering works as expected

def test_unregister_of_noncomponent_fails(self):
try to unregister a not registered component and make sure that it fails