Package elisa :: Package core :: Package tests :: Module test_component :: Class TestComponent
[hide private]
[frames] | no frames]

Class TestComponent

source code


Instance Methods [hide private]
 
test_init(self)
Check the component correctly loads its config
source code
 
test_no_config(self)
Check the default config of the component is used when it's not found in the application's config.
source code
 
test_multiple_instances(self)
Check we can use multiple instances of the same component
source code
 
test_clean(self)
Check the config is saved on component.clean()
source code
 
test_check_python_dependencies(self) source code
 
test_parse_dependency(self) source code
 
test_check_version(self) source code
 
test_check_platforms(self) source code

Inherited from elisa_test_case.ElisaTestCase: __init__, check_called, debug, info, setUp

Inherited from twisted.trial.unittest.TestCase: __call__, deferSetUp, deferSetUpClass, deferTearDown, deferTearDownClass, deferTestMethod, flushLoggedErrors, getSkip, getSuppress, getTimeout, getTodo, mktemp, run, runTest, shortDescription, visit

Inherited from twisted.trial.unittest.TestCase (private): _cbDeferTestMethod, _classCleanUp, _cleanUp, _deprecateReactor, _ebDeferSetUp, _ebDeferSetUpClass, _ebDeferTearDown, _ebDeferTestMethod, _ebTearDownClass, _getReason, _installObserver, _isFirst, _isLast, _makeReactorMethod, _prepareClassFixture, _removeObserver, _run, _undeprecateReactor, _wait

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

Inherited from unittest.TestCase: __providedBy__, __repr__, __str__, countTestCases, defaultTestResult, id, tearDown

Inherited from unittest.TestCase (private): _exc_info

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Inherited from extern.log.log.Loggable: doLog, error, log, logFunction, logObjectName, warning, warningFailure

Class Methods [hide private]

Inherited from twisted.trial.unittest.TestCase (private): _initInstances

Class Variables [hide private]

Inherited from elisa_test_case.ElisaTestCase: default_config, load_all_plugins

Inherited from twisted.trial.unittest.TestCase: __implemented__, __provides__

Inherited from extern.log.log.Loggable: logCategory

Instance Variables [hide private]

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

test_multiple_instances(self)

source code 

Check we can use multiple instances of the same component

But with different configurations