'Test that we raise an IOError for file not found.'

def testFileNotFound(self):

    path = os.path.join(self.base_path, 'test_img.dd', 'home/image2.img', 'home/nosuchfile.txt')
    pathspec = rdf_paths.PathSpec(path=path, pathtype=rdf_paths.PathSpec.PathType.OS)
    self.assertRaises(IOError, vfs.VFSOpen, pathspec)
