mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-24 07:06:41 +00:00
unused
This commit is contained in:
parent
18e24a8008
commit
e7043f1b03
@ -12,12 +12,6 @@ from allmydata.web.common import WebError
|
|||||||
from hypothesis import given
|
from hypothesis import given
|
||||||
from hypothesis.strategies import text
|
from hypothesis.strategies import text
|
||||||
|
|
||||||
# remove nevow imports when we use twisted.web.Site instead of nevow
|
|
||||||
# for the base.
|
|
||||||
from nevow.inevow import IRequest
|
|
||||||
|
|
||||||
from zope.interface import directlyProvides
|
|
||||||
|
|
||||||
|
|
||||||
class FakeRoot(Root):
|
class FakeRoot(Root):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
@ -49,7 +43,6 @@ class RenderSlashUri(unittest.TestCase):
|
|||||||
"/".join(self.request.prepath)
|
"/".join(self.request.prepath)
|
||||||
)
|
)
|
||||||
self.request.prePathURL = prepathURL
|
self.request.prePathURL = prepathURL
|
||||||
directlyProvides(self.request, IRequest)
|
|
||||||
self.client = Mock()
|
self.client = Mock()
|
||||||
self.res = URIHandler(self.client)
|
self.res = URIHandler(self.client)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user