Commit 72df6519 by rfkelly0

more renames of "tahoefs"

parent 250ce7d9
...@@ -12,17 +12,17 @@ import unittest ...@@ -12,17 +12,17 @@ import unittest
from fs.base import FS from fs.base import FS
import fs.errors as errors import fs.errors as errors
from fs.tests import FSTestCases, ThreadingTestCases from fs.tests import FSTestCases, ThreadingTestCases
from fs.contrib.tahoefs import TahoeLAFS, Connection from fs.contrib.tahoelafs import TahoeLAFS, Connection
logging.getLogger().setLevel(logging.DEBUG) logging.getLogger().setLevel(logging.DEBUG)
logging.getLogger('fs.tahoefs').addHandler(logging.StreamHandler(sys.stdout)) logging.getLogger('fs.tahoelafs').addHandler(logging.StreamHandler(sys.stdout))
WEBAPI = 'http://pubgrid.tahoe-lafs.org' WEBAPI = 'http://pubgrid.tahoe-lafs.org'
class TestTahoeLAFS(unittest.TestCase,FSTestCases,ThreadingTestCases): class TestTahoeLAFS(unittest.TestCase,FSTestCases,ThreadingTestCases):
# Disabled by default because it takes a *really* long time. # Disabled by default because it takes a *really* long time.
__test__ = False #__test__ = False
def setUp(self): def setUp(self):
self.dircap = TahoeLAFS.createdircap(WEBAPI) self.dircap = TahoeLAFS.createdircap(WEBAPI)
......
...@@ -571,7 +571,7 @@ class TahoeOpener(Opener): ...@@ -571,7 +571,7 @@ class TahoeOpener(Opener):
@classmethod @classmethod
def get_fs(cls, registry, fs_name, fs_name_params, fs_path, writeable, create_dir): def get_fs(cls, registry, fs_name, fs_name_params, fs_path, writeable, create_dir):
from fs.contrib.tahoefs import TahoeLAFS from fs.contrib.tahoelafs import TahoeLAFS
if '/uri/' not in fs_path: if '/uri/' not in fs_path:
raise OpenerError("""Tahoe-LAFS url should be in the form <url>/uri/<dicap>""") raise OpenerError("""Tahoe-LAFS url should be in the form <url>/uri/<dicap>""")
......
...@@ -51,7 +51,7 @@ setup(name='fs', ...@@ -51,7 +51,7 @@ setup(name='fs',
'fs.contrib', 'fs.contrib',
'fs.contrib.bigfs', 'fs.contrib.bigfs',
'fs.contrib.davfs', 'fs.contrib.davfs',
'fs.contrib.tahoefs', 'fs.contrib.tahoelafs',
'fs.commands'], 'fs.commands'],
scripts=['fs/commands/%s' % command for command in COMMANDS], scripts=['fs/commands/%s' % command for command in COMMANDS],
classifiers=classifiers, classifiers=classifiers,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment