From 531109e803a55c3c1d3ee9e8131938ce7405ff03 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Fri, 10 Aug 2007 08:40:02 -0700 Subject: [PATCH] fix test_web refactoring so that the WebMixin class isn't a TestCase Thanks, Brian. --- 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 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 -- 2.45.2