Example #1
0
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()
Example #2
0
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()
Example #3
0
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()
Example #4
0
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()