# HG changeset patch
# User Sylvain Thénault <sylvain.thenault@logilab.fr>
# Date 1297335413 -3600
#      Thu Feb 10 11:56:53 2011 +0100
# Branch stable
# Node ID 016c225791755d073c557d7fa43211568eb37490
# Parent  efe4197be8e198f2e66d66d3b1714071119f91cc
this is necessary to get proper instance home

diff --git a/test/test_fresh.py b/test/test_fresh.py
--- a/test/test_fresh.py
+++ b/test/test_fresh.py
@@ -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__':