projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e13783c
)
fix test_web refactoring so that the WebMixin class isn't a TestCase
author
Zooko O'Whielacronx
<zooko@zooko.com>
Fri, 10 Aug 2007 15:40:02 +0000
(08:40 -0700)
committer
Zooko O'Whielacronx
<zooko@zooko.com>
Fri, 10 Aug 2007 15:40:02 +0000
(08:40 -0700)
Thanks, Brian.
src/allmydata/test/test_web.py
patch
|
blob
|
history
diff --git
a/src/allmydata/test/test_web.py
b/src/allmydata/test/test_web.py
index c19777275d09935a2d251fa5a65bc88c33bc28b0..3e58cf3e3307a60849a58b0625a646fdbf197f6a 100644
(file)
--- 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