def test_sys_is_file_when_dir(self): """Test that a path is not a file when it is a directory""" self.assertEqual(False, system.is_file(self.sysdirpath))
def test_sys_is_file_missing_file(self): """Test that a path is not a file when it is not a file""" self.assertEqual(False, system.is_file(self.bogusfilepath))
def test_syst_is_file(self): """Test that a path is a file when it is a file""" self.assertEqual(True, system.is_file(self.sysfilepath))