示例#1
0
def __test_managers(conf):
    app = minimal_app_for_managers()
    managers = manager_factory.build_managers(app, conf)
    try:
        yield managers
    finally:
        for manager in managers.values():
            manager.shutdown()
示例#2
0
def __test_managers(conf):
    app = minimal_app_for_managers()
    managers = manager_factory.build_managers(app, conf)
    try:
        yield managers
    finally:
        for manager in managers.values():
            manager.shutdown()
示例#3
0
 def __setup_managers(self, conf):
     self.managers = build_managers(self, conf)
示例#4
0
文件: core.py 项目: erasche/pulsar
 def __setup_managers(self, conf):
     self.managers = build_managers(self, conf)