Remove unused test code

This commit is contained in:
Sajith Sasidharan 2020-04-28 19:09:00 -04:00
parent 98322effe6
commit e5733b6c90

View File

@ -9,7 +9,7 @@ from ...storage_client import (
NativeStorageServer,
StorageFarmBroker,
)
from ...web.root import Root, RootElement
from ...web.root import RootElement
from ...util.connection_status import ConnectionStatus
from allmydata.web.root import URIHandler
from allmydata.web.common import WebError
@ -23,21 +23,6 @@ from ..common import (
EMPTY_CLIENT_CONFIG,
)
class FakeRoot(Root):
def __init__(self):
pass
def now_fn(self):
return 0
class FakeContext(object):
def __init__(self):
self.slots = {}
self.tag = self
def fillSlots(self, slotname, contents):
self.slots[slotname] = contents
class RenderSlashUri(unittest.TestCase):
"""
Ensure that URIs starting with /uri?uri= only accept valid