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

Class FooComponent

source code


Nested Classes [hide private]

Inherited from component.Component: __metaclass__

Instance Methods [hide private]

Inherited from component.Component: __init__, clean, initialize, load_config, save_config

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

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

Static Methods [hide private]

Inherited from component.Component: __classinit__

Class Variables [hide private]
dict default_config = {'str_option': 'default str', 'list_option': ...
used when nothing found in Application's config
dict config_doc = {'str_option': 'a string option quoi', 'list_opti...
documentation for each option of the default configuration.
  dependencies = ['site', 'foo']

Inherited from component.Component: checked, id, name, plugin

Inherited from extern.log.log.Loggable: logCategory

Instance Variables [hide private]

Inherited from component.Component: config, path

Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

default_config

used when nothing found in Application's config
Type:
dict
Value:
{'str_option': 'default str', 'list_option': ['default', 'list'], 'ano\
ther_option': 'bar'}

config_doc

documentation for each option of the default configuration. Keys should be same as the ones in default_config and values should be strings
Type:
dict
Value:
{'str_option': 'a string option quoi', 'list_option': 'gimme a list'}