diff --git a/src/allmydata/test/web/test_web.py b/src/allmydata/test/web/test_web.py index 3bf015fba..e65e04db2 100644 --- a/src/allmydata/test/web/test_web.py +++ b/src/allmydata/test/web/test_web.py @@ -3,6 +3,7 @@ from __future__ import print_function import os.path, re, urllib, time, cgi import json import treq +import html from bs4 import BeautifulSoup @@ -13,8 +14,6 @@ from twisted.internet.task import Clock from twisted.web import client, error, http from twisted.python import failure, log -from twisted.words.xish.domish import escapeToXml - from allmydata import interfaces, uri, webish from allmydata.storage_client import StorageFarmBroker, StubServer from allmydata.immutable import upload @@ -365,9 +364,9 @@ class WebMixin(TimezoneMixin): self._htmlname_unicode = u"<&weirdly'named\"file>>>_