def setUp(self): FileSetup.setUp(self) reset() self.cmd = Kmd() self.cmd.preloop() completer.completer = completefilename completer.filename_dequoting_function = print_exc(dequote_filename) completer.filename_quoting_function = print_exc(backslash_quote_filename)
def setUp(self): FileSetup.setUp(self) reset() self.cmd = Kmd() self.cmd.preloop() completer.completer = completefilename completer.filename_dequoting_function = print_exc(backslash_dequote_filename) completer.filename_quoting_function = print_exc(backslash_quote_filename)
def setUp(self): FileSetup.setUp(self) reset() self.cmd = Kmd() self.cmd.preloop() completer.completer = completefilename completer.filename_dequoting_function = print_exc(dequote_string) completer.filename_quoting_function = lambda x,y,z: x
def setUp(self): reset()
def setUp(self): reset() self.cmd = TestKmd(quote_char='"') self.cmd.preloop() self.is_quoted = self.cmd.completefilename.char_is_quoted
def setUp(self): reset() self.cmd = TestKmd() self.cmd.preloop()
def setUp(self): reset() self.cmd = TestKmd() self.cmd.preloop() os.environ['MYSHELL'] = '/foo/bar'
def setUp(self): JailSetup.setUp(self) reset() self.cmd = TestKmd(quote_char='"') self.cmd.preloop() self.mkfiles()
def setUp(self): JailSetup.setUp(self) reset() self.mkhosts(HOSTSFILE) self.cmd = TestKmd(hostsfile=join(self.tempdir, 'hosts')) self.cmd.preloop()
def setUp(self): reset() completer.quote_characters = '"\''
def setUp(self): reset() self.cmd = Kmd() self.cmd.preloop()