tests/test_fritzcollectd.py
def process(self, config=None):
        """ Simulates collectd. Call callbacks once. """
        if config is None:
            config = CollectdConfig()
        try:
            self._cb_config(config)
            self._cb_init()
            self._cb_read()
        finally:
            # Make sure read also can be called if init failed before.
            self._cb_read()
            self._cb_shutdown()
 Simulates collectd. Call callbacks once. 
Simulates collectd. Call callbacks once.
Simulates collectd . Call callbacks once .
def process(self, config=None):
        if config is None:
            config = CollectdConfig()
        try:
            self._cb_config(config)
            self._cb_init()
            self._cb_read()
        finally:
            self._cb_read()
            self._cb_shutdown()
def process ( self , config = None ) : if config is None : config = CollectdConfig ( ) try : self . _cb_config ( config ) self . _cb_init ( ) self . _cb_read ( ) finally : self . _cb_read ( ) self . _cb_shutdown ( )
Simulates collectd.
Simulates collectd .
""" Simulates collectd. Call callbacks once. """ # Make sure read also can be called if init failed before.
self
config