web/test/unittest_magicsearch.py
changeset 3462 3a79fecdd2b4
parent 3369 7b88d12b4ee2
child 3469 1e28876c4b55
--- a/web/test/unittest_magicsearch.py	Thu Sep 24 11:06:50 2009 +0200
+++ b/web/test/unittest_magicsearch.py	Thu Sep 24 20:25:49 2009 +0200
@@ -70,7 +70,7 @@
         self.req = self.request()
         proc = self.vreg['components'].select('magicsearch', self.req)
         self.proc = [p for p in proc.processors if isinstance(p, QSPreProcessor)][0]
-        self.proc.req = self.req
+        self.proc._cw = self.req
 
     def test_entity_translation(self):
         """tests QSPreProcessor._get_entity_name()"""