devtools/testlib.py
changeset 3777 3ef8cdb5fb1c
parent 3734 b2107f68176c
parent 3764 034aa14b740a
child 3998 94cc7cad3d2d
--- a/devtools/testlib.py	Mon Oct 19 20:22:01 2009 +0200
+++ b/devtools/testlib.py	Wed Oct 21 17:32:20 2009 +0200
@@ -837,7 +837,7 @@
             if k.endswith('visible') and not v['default']:
                 propdefs[k]['default'] = True
         for view in self.list_views_for(rset):
-            backup_rset = rset._prepare_copy(rset.rows, rset.description)
+            backup_rset = rset.copy(rset.rows, rset.description)
             yield InnerTest(self._testname(rset, view.__regid__, 'view'),
                             self.view, view.__regid__, rset,
                             rset.req.reset_headers(), 'main-template')