# HG changeset patch # User Sylvain Thénault # Date 1261484033 -3600 # Node ID b7cf0ebdd8b66a9c863921923b89e233a673d696 # Parent c79135c217df33ed72a76f46642257c6a0d0a432 oops diff -r c79135c217df -r b7cf0ebdd8b6 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