コード例 #1
0
 def test_subdir_dotdot(self):
     self.assertEqual('../path/File.txt', get_new_path('../path/file.txt'))
コード例 #2
0
 def test_subdir(self):
     self.assertEqual('some/path/File.txt', get_new_path('some/path/file.txt'))
コード例 #3
0
 def test_subdir_nobasename(self):
     self.assertEqual('some/path/.txt', get_new_path('some/path/.txt'))
コード例 #4
0
 def test_hello__there(self):
     self.assertEqual('Hello There', get_new_path('hello  there'))
コード例 #5
0
 def test_dotdot(self):
     self.assertEqual('..', get_new_path('..'))
コード例 #6
0
ファイル: test_titlecase.py プロジェクト: edewillians10/ewsc
 def test_hello_there_txt_dotted(self):
     self.assertEqual('Hello There.txt', get_new_path('hello.there.txt'))
コード例 #7
0
 def test_hello_there_txt_dotted(self):
     self.assertEqual('Hello There.txt', get_new_path('hello.there.txt'))
コード例 #8
0
ファイル: test_titlecase.py プロジェクト: edewillians10/ewsc
 def test_subdir_dotdot_in_middle(self):
     self.assertEqual('some/../path/File.txt',
                      get_new_path('some/../path/file.txt'))
コード例 #9
0
ファイル: test_titlecase.py プロジェクト: edewillians10/ewsc
 def test_hello(self):
     self.assertEqual('Hello', get_new_path('hello'))
コード例 #10
0
ファイル: test_titlecase.py プロジェクト: edewillians10/ewsc
 def test_subdir_nobasename(self):
     self.assertEqual('some/path/.txt', get_new_path('some/path/.txt'))
コード例 #11
0
ファイル: test_titlecase.py プロジェクト: edewillians10/ewsc
 def test_subdir_dotdot(self):
     self.assertEqual('../path/File.txt', get_new_path('../path/file.txt'))
コード例 #12
0
ファイル: test_titlecase.py プロジェクト: edewillians10/ewsc
 def test_subdir(self):
     self.assertEqual('some/path/File.txt',
                      get_new_path('some/path/file.txt'))
コード例 #13
0
ファイル: test_titlecase.py プロジェクト: edewillians10/ewsc
 def test_dotdot(self):
     self.assertEqual('..', get_new_path('..'))
コード例 #14
0
ファイル: test_titlecase.py プロジェクト: edewillians10/ewsc
 def test_hello__there(self):
     self.assertEqual('Hello There', get_new_path('hello  there'))
コード例 #15
0
 def test_subdir_dotdot_in_middle(self):
     self.assertEqual('some/../path/File.txt', get_new_path('some/../path/file.txt'))
コード例 #16
0
 def test_hello_txt(self):
     self.assertEqual('Hello.txt', get_new_path('hello.txt'))
コード例 #17
0
 def test_hello(self):
     self.assertEqual('Hello', get_new_path('hello'))
コード例 #18
0
ファイル: test_titlecase.py プロジェクト: edewillians10/ewsc
 def test_hello_txt(self):
     self.assertEqual('Hello.txt', get_new_path('hello.txt'))