Package elisa :: Package core :: Package tests :: Module test_interface_controller :: Class TestInterfaceController

Class TestInterfaceController

source code


Instance Methods
 
setUp(self) source code
 
tearDown(self) source code
 
patch_application(self)
Setup common.application, saving the old application object.
source code
 
unpatch_application(self)
Restore the application object saved in patch_application().
source code
 
test_simple_initialize(self)
test if the initialize method works as expected when everything is fine
source code
 
test_missing_section_initialize(self)
test, that it still works when the section in the configuration file is missing
source code
 
test_missing_frontend_option_initialize(self)
test if creating a frontend without the necessary frontend-option fails as expected
source code
 
test_one_failed_initialize(self)
test that all other frontends get created even if one fails
source code
 
test_all_failed_initialize(self)
test that we get an errback, when creation of all frontends fails
source code
 
test_clean_got_called(self) source code

Inherited from twisted.trial.unittest.TestCase: __call__, __eq__, __init__, __ne__, addCleanup, callDeprecated, deferRunCleanups, deferSetUp, deferSetUpClass, deferTearDown, deferTearDownClass, deferTestMethod, flushLoggedErrors, flushWarnings, getSkip, getSuppress, getTimeout, getTodo, mktemp, patch, run, runTest, shortDescription, visit

Inherited from twisted.trial.unittest._Assertions: assertAlmostEqual, assertAlmostEquals, assertApproximates, assertEqual, assertEquals, assertFailure, assertFalse, assertIdentical, assertIn, assertIsInstance, assertNot, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertNotIdentical, assertNotIn, assertNotIsInstance, assertNotSubstring, assertRaises, assertSubstring, assertTrue, assertWarns, assert_, fail, failIf, failIfAlmostEqual, failIfAlmostEquals, failIfEqual, failIfEquals, failIfIdentical, failIfIn, failIfIsInstance, failIfSubstring, failUnless, failUnlessAlmostEqual, failUnlessAlmostEquals, failUnlessApproximates, failUnlessEqual, failUnlessEquals, failUnlessFailure, failUnlessFalse, failUnlessIdentical, failUnlessIn, failUnlessIsInstance, failUnlessRaises, failUnlessSubstring, failUnlessTrue, failUnlessWarns

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables

Inherited from twisted.trial.unittest.TestCase: failureException, skip, suppress, timeout, todo

Properties

Inherited from object: __class__

Method Details

patch_application(self)

source code 

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