Commit b709e6dc authored by Philippe Pepiot's avatar Philippe Pepiot
Browse files

SaxOnlyValidator has been renamed to XMLValidator

And bw compat has been dropped in cubicweb 3.27
parent f711839dc2e2
...@@ -2,15 +2,15 @@ ...@@ -2,15 +2,15 @@
import unittest import unittest
from cubicweb.devtools.htmlparser import SaxOnlyValidator from cubicweb.devtools.htmlparser import XMLValidator
from cubicweb.devtools.testlib import AutomaticWebTest from cubicweb.devtools.testlib import AutomaticWebTest
class AutomaticWebTest(AutomaticWebTest): class AutomaticWebTest(AutomaticWebTest):
vid_validators = AutomaticWebTest.vid_validators.copy() vid_validators = AutomaticWebTest.vid_validators.copy()
vid_validators.update({ vid_validators.update({
'accexpense': SaxOnlyValidator, 'accexpense': XMLValidator,
'accentry': SaxOnlyValidator, 'accentry': XMLValidator,
}) })
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment