this is necessary to get proper instance home stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 10 Feb 2011 11:56:53 +0100
branchstable
changeset 47 016c22579175
parent 46 efe4197be8e1
child 48 2d0870c9ceea
this is necessary to get proper instance home
test/test_fresh.py
--- a/test/test_fresh.py	Thu Feb 10 11:56:26 2011 +0100
+++ b/test/test_fresh.py	Thu Feb 10 11:56:53 2011 +0100
@@ -5,9 +5,11 @@
 from cubicweb.devtools.htmlparser import SaxOnlyValidator
 from cubicweb.devtools.testlib import AutomaticWebTest
 
-AutomaticWebTest.vid_validators.update({
-    'accexpense': SaxOnlyValidator,
-    'accentry': SaxOnlyValidator,
+class AutomaticWebTest(AutomaticWebTest):
+    vid_validators = AutomaticWebTest.vid_validators.copy()
+    vid_validators.update({
+        'accexpense': SaxOnlyValidator,
+        'accentry': SaxOnlyValidator,
     })
 
 if __name__ == '__main__':