From e7043f1b03ba39024bab5b950861aff572861a97 Mon Sep 17 00:00:00 2001 From: meejah Date: Thu, 5 Sep 2019 16:52:25 -0600 Subject: [PATCH] unused --- src/allmydata/test/web/test_root.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/allmydata/test/web/test_root.py b/src/allmydata/test/web/test_root.py index c54bba35a..a2624e192 100644 --- a/src/allmydata/test/web/test_root.py +++ b/src/allmydata/test/web/test_root.py @@ -12,12 +12,6 @@ from allmydata.web.common import WebError from hypothesis import given 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): def __init__(self): @@ -49,7 +43,6 @@ class RenderSlashUri(unittest.TestCase): "/".join(self.request.prepath) ) self.request.prePathURL = prepathURL - directlyProvides(self.request, IRequest) self.client = Mock() self.res = URIHandler(self.client)