From 939f60f6207b6bf13e42fa37893a181ed6168288 Mon Sep 17 00:00:00 2001 From: meejah Date: Sat, 13 Jun 2020 17:22:17 -0600 Subject: [PATCH] embetter docstring --- src/allmydata/testing/web.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/allmydata/testing/web.py b/src/allmydata/testing/web.py index 5f011f8b1..ca010afa4 100644 --- a/src/allmydata/testing/web.py +++ b/src/allmydata/testing/web.py @@ -226,11 +226,11 @@ class _FakeTahoeUriHandler(Resource, object): def create_fake_tahoe_root(): """ If you wish to pre-populate data into the fake Tahoe grid, retain - a reference to this root and pass it to + a reference to this root by creating it yourself and passing it to `create_tahoe_treq_client`. For example:: root = create_fake_tahoe_root() - root.add_data(...) + cap_string = root.add_data(...) client = create_tahoe_treq_client(root) :returns: an IResource instance that will handle certain Tahoe URI