mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-24 07:06:41 +00:00
Use super()
This commit is contained in:
parent
80bf5f0a53
commit
9f5c58c173
@ -48,9 +48,9 @@ class FakeClient(object):
|
||||
# Also, the request needs to have `args` and `fields` properties so
|
||||
# that `allmydata.web.common.get_arg()` won't complain.
|
||||
@implementer(IRequest)
|
||||
class TestRequest(object, Request):
|
||||
class TestRequest(Request, object):
|
||||
def __init__(self, args=None, fields=None):
|
||||
Request.__init__(self, DummyChannel())
|
||||
super(TestRequest, self).__init__(DummyChannel())
|
||||
self.args = args or {}
|
||||
self.fields = fields or {}
|
||||
self.prepath = [b""]
|
||||
|
Loading…
Reference in New Issue
Block a user