Exemplo n.º 1
0
 def __init__(self, loop=None):
     self.loop = loop or ZMQEventLoop()
     self.scheduler_pool = []
     self.manager = PluginManager()
     settings.reconfigure(
         AttributeDict(**{'ENVIRONMENTS': self._get_environments()})
     )
     self._load_plugins()
     self._connect_to_queue()
     self.open()
 def setUpClass(cls):
     settings.reconfigure(
         AttributeDict(**{
             'DRUID_URL': 'http://localhost:8092/'
         })
     )