[test] fix typo stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 21 Jan 2011 14:14:30 +0100
branchstable
changeset 6874 611aa2074a5b
parent 6873 2db631a3f205
child 6875 a166b51d13f8
[test] fix typo
test/unittest_selectors.py
--- a/test/unittest_selectors.py	Fri Jan 21 13:07:10 2011 +0100
+++ b/test/unittest_selectors.py	Fri Jan 21 14:14:30 2011 +0100
@@ -248,7 +248,7 @@
 class ScoreEntitySelectorTC(CubicWebTC):
 
     def test_intscore_entity_selector(self):
-        req = request()
+        req = self.request()
         selector = score_entity(lambda x: None)
         rset = req.execute('Any E WHERE E eid 0')
         self.assertEqual(selector(None, req, rset), 0)