From: Zooko O'Whielacronx Date: Fri, 10 Aug 2007 15:40:02 +0000 (-0700) Subject: fix test_web refactoring so that the WebMixin class isn't a TestCase X-Git-Tag: allmydata-tahoe-0.5.0~94 X-Git-Url: https://git.rkrishnan.org/?a=commitdiff_plain;h=531109e803a55c3c1d3ee9e8131938ce7405ff03;p=tahoe-lafs%2Ftahoe-lafs.git fix test_web refactoring so that the WebMixin class isn't a TestCase Thanks, Brian. --- diff --git a/src/allmydata/test/test_web.py b/src/allmydata/test/test_web.py index c1977727..3e58cf3e 100644 --- a/src/allmydata/test/test_web.py +++ b/src/allmydata/test/test_web.py @@ -154,7 +154,7 @@ class MyVirtualDrive(service.Service): return self._my_nodes[uri] return defer.maybeDeferred(_try) -class WebMixin(unittest.TestCase): +class WebMixin(object): def setUp(self): self.s = MyClient() self.s.startService() @@ -367,7 +367,7 @@ class WebMixin(unittest.TestCase): self.fail("%s was supposed to Error(%s), not get '%s'" % (which, code, res)) -class Web(WebMixin): +class Web(WebMixin, unittest.TestCase): def test_create(self): pass