cubicweb #828795 automatic test : disable xhtml validation on *some* primary views [resolved]

Currently if a cube has some views which are not xhtml (generally because of javascript use), it is possible to tell the automatic tests not to expect xhtml with:

AutomaticWebTest.vid_validators.update({
   'accexpense': SaxOnlyValidator,
   'accentry': SaxOnlyValidator,
   })

where the keys are the __regid__ of the views.

However this does not work if some primary views are not xhtml but others are, as the __regid__ of a primary view is always 'primary', which means we can only disable xhtml validation for all or none of the primary views of our application.

priorityimportant
typebug
done in3.7.4
load0.100
load left0.000
closed by<not specified>