Пример #1
0
 def __init__(self, application, env):
     self.__application = application
     self.__env = env
     # Set the pidaobject base
     base.set_boss(self)
     self.commands = {}
     base.pidacomponent.__init__(self)
Пример #2
0
 def __init__(self, application, env):
     self.__application = application
     self.__env = env
     # Set the pidaobject base
     base.set_boss(self)
     self.commands = {}
     base.pidacomponent.__init__(self)
Пример #3
0
def _setup(mod):
    mainloop = mainstop = lambda *a: None
    app = application.application()
    app.env.override_editor_option('Culebra')
    boss = MockBoss(app, app.env)
    base.set_boss(boss)
Пример #4
0
def _setup(mod):
    mainloop = mainstop = lambda *a: None
    app = application.application()
    app.env.override_editor_option('Culebra')
    boss = MockBoss(app, app.env)
    base.set_boss(boss)