mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-22 06:17:50 +00:00
cleanup
This commit is contained in:
parent
385df39981
commit
191087ef0a
@ -84,14 +84,11 @@ def test_helper_status(storage_nodes):
|
||||
assert resp.status_code >= 200 and resp.status_code < 300
|
||||
|
||||
|
||||
def test_deep_stats():#alice):
|
||||
def test_deep_stats(alice):
|
||||
"""
|
||||
create a directory, do deep-stats on it and prove the /operations/
|
||||
URIs work
|
||||
"""
|
||||
class Alice:
|
||||
_node_dir = "testgrid/alice"
|
||||
alice = Alice()
|
||||
resp = requests.post(
|
||||
util.node_url(alice._node_dir, "uri"),
|
||||
params={
|
||||
|
@ -165,7 +165,8 @@ class WebishServer(service.MultiService):
|
||||
self.root = root.Root(client, clock, now_fn)
|
||||
self.buildServer(webport, nodeurl_path, staticdir)
|
||||
|
||||
# XXX FIXME what does this really do?
|
||||
# XXX just make this 'child_operations' thing something we
|
||||
# pass to Root instead .. then can we pass it to OpHandleTable() as well?
|
||||
if self.root.child_operations:
|
||||
self.root.child_operations.setServiceParent(self)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user