예제 #1
0
 def test_find_file_ext_2(self):
     ext = find_file_ext('Pthon')
     assert ext is None
예제 #2
0
 def test_find_file_ext_3(self):
     ext = find_file_ext('C')
     assert ext == '.c'
예제 #3
0
 def test_find_file_ext_1(self):
     ext = find_file_ext('Python')
     assert ext == '.py'