From: David-Sarah Hopwood Date: Sat, 29 Dec 2012 23:44:11 +0000 (+0000) Subject: test_web.py: minor cleanup to test_helper_status. X-Git-Tag: allmydata-tahoe-1.10a1~25 X-Git-Url: https://git.rkrishnan.org/?p=tahoe-lafs%2Ftahoe-lafs.git;a=commitdiff_plain;h=062ae99372d73a02ff376fc3ef66d16dba6be9d7 test_web.py: minor cleanup to test_helper_status. Signed-off-by: David-Sarah Hopwood --- 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))