devtools/testlib.py
branchstable
changeset 3764 034aa14b740a
parent 3689 deb13e88e037
child 3777 3ef8cdb5fb1c
child 3913 60f31797e01e
--- a/devtools/testlib.py	Wed Oct 21 08:59:14 2009 +0200
+++ b/devtools/testlib.py	Wed Oct 21 09:47:55 2009 +0200
@@ -325,7 +325,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.id, 'view'),
                             self.view, view.id, rset,
                             rset.req.reset_headers(), 'main-template')