This commit is contained in:
meejah 2019-08-07 17:53:37 -06:00
parent 385df39981
commit 191087ef0a
2 changed files with 3 additions and 5 deletions

View File

@ -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={

View File

@ -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)