From 062ae99372d73a02ff376fc3ef66d16dba6be9d7 Mon Sep 17 00:00:00 2001 From: David-Sarah Hopwood Date: Sat, 29 Dec 2012 23:44:11 +0000 Subject: [PATCH] test_web.py: minor cleanup to test_helper_status. Signed-off-by: David-Sarah Hopwood --- src/allmydata/test/test_web.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/allmydata/test/test_web.py b/src/allmydata/test/test_web.py index 576c3da3..300c19a5 100644 --- a/src/allmydata/test/test_web.py +++ b/src/allmydata/test/test_web.py @@ -618,10 +618,10 @@ class Web(WebMixin, WebErrorMixin, testutil.StallMixin, testutil.ReallyEqualMixi d = defer.succeed(None) # set helper furl to None - def _set_helper_not_configured2(ign): + def _set_no_helper(ign): self.s.uploader.helper_furl = None return self.GET("/") - d.addCallback(_set_helper_not_configured2) + d.addCallback(_set_no_helper) d.addCallback(lambda res: self.failUnlessIn('Connected to helper?: not configured', res)) -- 2.45.2