--- a/web/test/unittest_views_basetemplates.py Mon May 06 17:16:45 2013 +0200
+++ b/web/test/unittest_views_basetemplates.py Wed May 15 15:37:22 2013 +0200
@@ -15,14 +15,15 @@
#
# You should have received a copy of the GNU Lesser General Public License along
# with CubicWeb. If not, see <http://www.gnu.org/licenses/>.
+
from cubicweb.devtools.testlib import CubicWebTC
-from cubicweb.devtools.htmlparser import DTDValidator
+from cubicweb.devtools.htmlparser import XMLValidator
class LogFormTemplateTC(CubicWebTC):
def _login_labels(self):
- valid = self.content_type_validators.get('text/html', DTDValidator)()
+ valid = self.content_type_validators.get('text/html', XMLValidator)()
req = self.request()
req.cnx.anonymous_connection = True
page = valid.parse_string(self.vreg['views'].main_template(self.request(), 'login'))