# Class e.c.t.t.TestInterfaceController(TestCase):

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

No class docstring

Line # | Kind | Name | Docs
--- | --- | --- | ---
29 | Method | setUp | Undocumented
41 | Method | tearDown | Undocumented
45 | Method | patch_application | Setup common.application, saving the old application object.
72 | Method | unpatch_application | Restore the application object saved in patch_application().
87 | Method | test_simple_initialize | test if the initialize method works as expected when everything is
118 | Method | test_missing_section_initialize | test, that it still works when the section in the configuration file
150 | Method | test_missing_frontend_option_initialize | test if creating a frontend without the necessary frontend-option
181 | Method | test_one_failed_initialize | test that all other frontends get created even if one fails
216 | Method | test_all_failed_initialize | test that we get an errback, when creation of all frontends fails
247 | Method | test_clean_got_called | Undocumented

def setUp(self):
Undocumented
def tearDown(self):
Undocumented
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_simple_initialize(self):
test if the initialize method works as expected when everything is fine

def test_missing_section_initialize(self):
test, that it still works when the section in the configuration file is missing

def test_missing_frontend_option_initialize(self):
test if creating a frontend without the necessary frontend-option fails as expected

def test_one_failed_initialize(self):
test that all other frontends get created even if one fails

def test_all_failed_initialize(self):
test that we get an errback, when creation of all frontends fails

def test_clean_got_called(self):
Undocumented