oops
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 22 Dec 2009 13:13:53 +0100
changeset 4182 b7cf0ebdd8b6
parent 4181 c79135c217df
child 4183 b5aa030bb2f9
oops
web/test/unittest_viewselector.py
--- a/web/test/unittest_viewselector.py	Tue Dec 22 10:27:49 2009 +0100
+++ b/web/test/unittest_viewselector.py	Tue Dec 22 13:13:53 2009 +0100
@@ -422,7 +422,7 @@
             req = self.request()
             rset = req.execute(rql)
         try:
-            obj = self['views'].select(vid, req, rset=rset, **args)
+            obj = self.vreg['views'].select(vid, req, rset=rset, **args)
             return obj.render(**args)
         except:
             print vid, rset, args