def __init__(self, *args, **kwargs): self.__expect = [] self.__output = [] self.__error = [] self.__popen = [] self.__call = [] self.mox = mox.Mox() CLI.__init__(self, *args, **kwargs)
def __init__(self, *args, **kwargs): CLI.__init__(self, *args, **kwargs) self.DIR = create_path(folder=True) self.REQRESP = {} self.STORE = MyStore(self.DIR) self.STORE.clear(testhost, testuser) self.register("s", SessionsControl, "TEST") self.controls["s"].FACTORY = lambda ignore: self.STORE assert self.STORE.count(testhost, testuser) == 0
def __init__(self): CLI.__init__(self) self.queue = [] self.prompt = prompt % str(0)
def __init__(self, *args, **kwargs): self.OUTPUT = [] self.ERROR = [] CLI.__init__(self, *args, **kwargs) self.register("config", PrefsControl, HELP)