def test_local(): vfsurl="vfs://<localtest>/home/smulloni/workdir/skunkweb/test/vfs/libs" sys.path.append(vfsurl) vfs.VFSRegistry['localtest']=vfs.LocalFS() importer.install() do_imports() importer.uninstall()
def test_local(): vfsurl = "vfs://<localtest>/home/smulloni/workdir/skunkweb/test/vfs/libs" sys.path.append(vfsurl) vfs.VFSRegistry['localtest'] = vfs.LocalFS() importer.install() do_imports() importer.uninstall()
def test_zip(): vfsurl="vfs://<ziptest>/libs" sys.path.append(vfsurl) vfs.VFSRegistry['ziptest']=vfs.ZipFS('/home/smulloni/workdir/skunkweb/test/vfs/libs.zip') importer.install() do_imports() importer.uninstall()
def test_zip(): vfsurl = "vfs://<ziptest>/libs" sys.path.append(vfsurl) vfs.VFSRegistry['ziptest'] = vfs.ZipFS( '/home/smulloni/workdir/skunkweb/test/vfs/libs.zip') importer.install() do_imports() importer.uninstall()