示例#1
0
 def setUp(self):
     JailSetup.setUp(self)
     reset()
     called[:] = []
     completer.quote_characters = '\'"'
     completer.word_break_characters = ' \t\n"\''
     completer.filename_quote_characters = ' \t\n"\''
     completer.char_is_quoted_function = is_quoted
     completer.completer = filecomplete
示例#2
0
文件: test_callhooks.py 项目: tony/rl
 def setUp(self):
     JailSetup.setUp(self)
     reset()
     called[:] = []
     completer.quote_characters = '\'"'
     completer.word_break_characters = ' \t\n"\''
     completer.filename_quote_characters = ' \t\n"\''
     completer.char_is_quoted_function = is_quoted
     completer.completer = filecomplete
示例#3
0
 def tearDown(self):
     self.remove_histfile()
     JailSetup.tearDown(self)
示例#4
0
 def setUp(self):
     JailSetup.setUp(self)
     reset()
     self.histfile = expanduser('~/.history')
     self.remove_histfile()
示例#5
0
文件: test_callhooks.py 项目: tony/rl
 def setUp(self):
     JailSetup.setUp(self)
     reset()
     called[:] = []
示例#6
0
文件: test_callhooks.py 项目: tony/rl
 def setUp(self):
     JailSetup.setUp(self)
     reset()
     called[:] = []
     completer.completer = filecomplete
示例#7
0
文件: test_initfile.py 项目: tony/rl
 def tearDown(self):
     self.remove_initfile()
     JailSetup.tearDown(self)
示例#8
0
文件: test_initfile.py 项目: tony/rl
 def setUp(self):
     JailSetup.setUp(self)
     reset()
     self.initfile = expanduser('~/.$$$')
     self.remove_initfile()
示例#9
0
 def tearDown(self):
     self.remove_files()
     JailSetup.tearDown(self)
示例#10
0
 def setUp(self):
     JailSetup.setUp(self)
     reset()
     self.histfile = expanduser('~/.history')
     self.initfile = expanduser('~/.$$$')
     self.remove_files()
示例#11
0
 def setUp(self):
     JailSetup.setUp(self)
     reset()
     called[:] = []
示例#12
0
 def setUp(self):
     JailSetup.setUp(self)
     reset()
     called[:] = []
     completer.completer = filecomplete
示例#13
0
 def setUp(self):
     JailSetup.setUp(self)
     reset()
     self.histfile = expanduser('~/.history')
     self.remove_histfile()
示例#14
0
 def setUp(self):
     JailSetup.setUp(self)
     reset()
     self.initfile = expanduser('~/.$$$')
     self.remove_initfile()
示例#15
0
文件: test_readline.py 项目: tony/rl
 def tearDown(self):
     self.remove_files()
     JailSetup.tearDown(self)
示例#16
0
文件: test_readline.py 项目: tony/rl
 def setUp(self):
     JailSetup.setUp(self)
     reset()
     self.histfile = expanduser('~/.history')
     self.initfile = expanduser('~/.$$$')
     self.remove_files()