예제 #1
0
 def test_4(self):
     self.assertEqual(".file", remove_file_extension(".file.1"))
예제 #2
0
 def test_5(self):
     self.assertEqual("/a/b/c", remove_file_extension("/a/b/c.1"))
예제 #3
0
 def test_1(self):
     self.assertEqual("file.1", remove_file_extension("file.1.2"))
예제 #4
0
 def test_0(self):
     self.assertEqual("file", remove_file_extension("file"))
예제 #5
0
 def test_2(self):
     self.assertEqual("file", remove_file_extension("file.1"))
예제 #6
0
 def test_5(self):
     self.assertEqual("/a/b/c", remove_file_extension("/a/b/c.1"))
예제 #7
0
 def test_3(self):
     self.assertEqual(".file", remove_file_extension(".file"))