Exemplo n.º 1
0
    def __init__(self):
        self._drivers = set()
        self.rpc_required = False
        registry.publish(log_const.LOGGING_PLUGIN, events.AFTER_INIT, self)

        if self.rpc_required:
            self._start_rpc_listeners()
            self.logging_rpc = server_rpc.LoggingApiNotification()
Exemplo n.º 2
0
 def setUp(self):
     super(LoggingApiNotificationTestCase, self).setUp()
     self.test_obj = server_rpc.LoggingApiNotification()