mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-23 14:52:26 +00:00
fix test_web refactoring so that the WebMixin class isn't a TestCase
Thanks, Brian.
This commit is contained in:
parent
e13783cd6a
commit
531109e803
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user