mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-19 07:48:11 +00:00
offloaded: add a system test, make it pass. files are now being uploaded through the helper.
This commit is contained in:
@ -151,13 +151,13 @@ class Client(node.Node, Referenceable, testutil.PollMixin):
|
||||
return
|
||||
h = Helper(os.path.join(self.basedir, "helper"))
|
||||
h.setServiceParent(self)
|
||||
helper_furl = self.tub.registerReference(h)
|
||||
# TODO: this is confusing. BASEDIR/private/helper.furl is created by
|
||||
# the helper. BASEDIR/helper.furl is consumed by the client who wants
|
||||
# to use the helper. I like having the filename be the same, since
|
||||
# that makes 'cp' work smoothly, but the difference between config
|
||||
# inputs and generated outputs is hard to see.
|
||||
self.write_private_config("helper.furl", helper_furl + "\n")
|
||||
helper_furlfile = os.path.join(self.basedir, "private", "helper.furl")
|
||||
self.tub.registerReference(h, furlFile=helper_furlfile)
|
||||
|
||||
def remote_get_versions(self):
|
||||
return str(allmydata.__version__), str(self.OLDEST_SUPPORTED_VERSION)
|
||||
|
Reference in New Issue
Block a user