예제 #1
0
파일: test_initfile.py 프로젝트: tony/rl
 def test_read_bytes_name(self):
     self.mkfile(bytes('my_init', sys.getfilesystemencoding()))
     completer.read_init_file(
         bytes('my_init', sys.getfilesystemencoding()))
예제 #2
0
파일: test_initfile.py 프로젝트: tony/rl
 def test_read_abspath(self):
     self.mkfile('my_init')
     completer.read_init_file(abspath('my_init'))
예제 #3
0
파일: test_initfile.py 프로젝트: tony/rl
 def test_read_tilde_expanded(self):
     self.mkfile(self.initfile)
     completer.read_init_file('~/.$$$')
예제 #4
0
파일: test_initfile.py 프로젝트: tony/rl
 def test_read_empty_string(self):
     self.mkfile('my_init')
     self.mkfile(self.initfile)
     completer.read_init_file('')
예제 #5
0
파일: test_initfile.py 프로젝트: tony/rl
 def test_read_relative(self):
     self.mkfile('my_init')
     completer.read_init_file('my_init')
예제 #6
0
 def test_read_pathlike_name(self):
     from pathlib import Path
     self.mkfile(Path('my_init'))
     completer.read_init_file(Path('my_init'))
예제 #7
0
파일: test_initfile.py 프로젝트: tony/rl
 def test_read_None_name(self):
     self.mkfile('my_init')
     self.mkfile(self.initfile)
     completer.read_init_file(None)
예제 #8
0
 def test_read_tilde_expanded(self):
     self.mkfile(self.initfile)
     completer.read_init_file('~/.$$$')
예제 #9
0
 def test_read_bytes_name(self):
     self.mkfile(bytes('my_init', sys.getfilesystemencoding()))
     completer.read_init_file(bytes('my_init', sys.getfilesystemencoding()))
예제 #10
0
 def test_read_abspath(self):
     self.mkfile('my_init')
     completer.read_init_file(abspath('my_init'))
예제 #11
0
 def test_read_relative(self):
     self.mkfile('my_init')
     completer.read_init_file('my_init')
예제 #12
0
 def test_read_None_name(self):
     self.mkfile('my_init')
     self.mkfile(self.initfile)
     completer.read_init_file(None)
예제 #13
0
 def test_AAA_setup_init_file(self):
     self.mkfile(self.initfile)
     completer.read_init_file(self.initfile)
예제 #14
0
 def test_read_empty_string(self):
     self.mkfile('my_init')
     self.mkfile(self.initfile)
     completer.read_init_file('')