def test_is_hidden_not_hidden_file(self): filename = 'filename.txt' self.assertFalse(FileUtil.is_hidden(filename))
def test_is_hidden_double_dot(self): filename = '..' self.assertFalse(FileUtil.is_hidden(filename))
def test_is_hidden_hidden_file(self): filename = '.filename.txt' self.assertTrue(FileUtil.is_hidden(filename))