예제 #1
0
 def test_is_hidden_not_hidden_file(self):
     filename = 'filename.txt'
     self.assertFalse(FileUtil.is_hidden(filename))
예제 #2
0
 def test_is_hidden_double_dot(self):
     filename = '..'
     self.assertFalse(FileUtil.is_hidden(filename))
예제 #3
0
 def test_is_hidden_hidden_file(self):
     filename = '.filename.txt'
     self.assertTrue(FileUtil.is_hidden(filename))