diff -r d8bc02158efc -r 020fc867f7b2 web/test/test_views.py --- a/web/test/test_views.py Fri Sep 25 11:27:01 2009 +0200 +++ b/web/test/test_views.py Fri Sep 25 11:27:26 2009 +0200 @@ -30,8 +30,8 @@ __regid__ = 'someview' def call(self): - self.req.add_js('spam.js') - self.req.add_js('spam.js') + self._cw.add_js('spam.js') + self._cw.add_js('spam.js') class ManualCubicWebTCs(AutoPopulateTest):