SaxOnlyValidator has been renamed to XMLValidator
authorPhilippe Pepiot <philippe.pepiot@logilab.fr>
Tue, 11 Feb 2020 10:08:47 +0100
changeset 132 60f15e7bf5f7
parent 131 f711839dc2e2
child 133 7c4e776206ca
SaxOnlyValidator has been renamed to XMLValidator And bw compat has been dropped in cubicweb 3.27
test/test_fresh.py
--- a/test/test_fresh.py	Wed Nov 27 17:05:06 2019 +0100
+++ b/test/test_fresh.py	Tue Feb 11 10:08:47 2020 +0100
@@ -2,15 +2,15 @@
 
 import unittest
 
-from cubicweb.devtools.htmlparser import SaxOnlyValidator
+from cubicweb.devtools.htmlparser import XMLValidator
 from cubicweb.devtools.testlib import AutomaticWebTest
 
 
 class AutomaticWebTest(AutomaticWebTest):
     vid_validators = AutomaticWebTest.vid_validators.copy()
     vid_validators.update({
-        'accexpense': SaxOnlyValidator,
-        'accentry': SaxOnlyValidator,
+        'accexpense': XMLValidator,
+        'accentry': XMLValidator,
     })