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)
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)