def test_sys_dir_is_dir_when_missing(self): """Test whether a path is a directory when it is missing""" self.assertEqual(False, system.is_dir(os.path.join("bogusdir", "anotherdir")))
def test_sys_dir_is_dir(self): """Test whether a path is a directory when it is a directory""" self.assertEqual(True, system.is_dir(self.sysdirpath))
def test_sys_dir_is_dir_when_file(self): """Test whether a path is a directory when it is a file""" self.assertEqual(False, system.is_dir(self.sysfilepath))