示例#1
0
 def setUp(self):
     reset()
     history.append('fred')
     history.append('wilma')
     history.append('barney')
     history.append('betty')
     history.append('pebbles')
示例#2
0
文件: test_history.py 项目: tony/rl
 def setUp(self):
     reset()
     history.append('fred')
     history.append('wilma')
     history.append('barney')
     history.append('betty')
     history.append('pebbles')
示例#3
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
示例#4
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
示例#5
0
 def setUp(self):
     JailSetup.setUp(self)
     reset()
     self.histfile = expanduser('~/.history')
     self.remove_histfile()
示例#6
0
文件: test_callhooks.py 项目: tony/rl
 def setUp(self):
     reset()
示例#7
0
文件: test_callhooks.py 项目: tony/rl
 def setUp(self):
     JailSetup.setUp(self)
     reset()
     called[:] = []
示例#8
0
文件: test_callhooks.py 项目: tony/rl
 def setUp(self):
     reset()
     called[:] = []
示例#9
0
文件: test_callhooks.py 项目: tony/rl
 def setUp(self):
     JailSetup.setUp(self)
     reset()
     called[:] = []
     completer.completer = filecomplete
示例#10
0
 def setUp(self):
     JailSetup.setUp(self)
     reset()
     self.histfile = expanduser('~/.history')
     self.initfile = expanduser('~/.$$$')
     self.remove_files()
示例#11
0
文件: test_initfile.py 项目: tony/rl
 def setUp(self):
     JailSetup.setUp(self)
     reset()
     self.initfile = expanduser('~/.$$$')
     self.remove_initfile()
示例#12
0
 def setUp(self):
     JailSetup.setUp(self)
     reset()
     called[:] = []
示例#13
0
文件: test_readline.py 项目: tony/rl
 def setUp(self):
     JailSetup.setUp(self)
     reset()
     self.histfile = expanduser('~/.history')
     self.initfile = expanduser('~/.$$$')
     self.remove_files()
示例#14
0
 def setUp(self):
     reset()
     called[:] = []
示例#15
0
 def setUp(self):
     JailSetup.setUp(self)
     reset()
     called[:] = []
     completer.completer = filecomplete
示例#16
0
 def setUp(self):
     reset()
示例#17
0
 def setUp(self):
     JailSetup.setUp(self)
     reset()
     self.initfile = expanduser('~/.$$$')
     self.remove_initfile()
示例#18
0
 def setUp(self):
     JailSetup.setUp(self)
     reset()
     self.histfile = expanduser('~/.history')
     self.remove_histfile()