# HG changeset patch # User Sylvain Thénault # Date 1295943638 -3600 # Node ID ea4baa1d16d6019e57101aec5e6cb35c3ee4b569 # Parent a473bf557456324f8d4b1613400c2bc11175c336 [test] fix score_entity test diff -r a473bf557456 -r ea4baa1d16d6 test/unittest_selectors.py --- a/test/unittest_selectors.py Mon Jan 24 16:59:26 2011 +0100 +++ b/test/unittest_selectors.py Tue Jan 25 09:20:38 2011 +0100 @@ -249,8 +249,8 @@ def test_intscore_entity_selector(self): req = self.request() + rset = req.execute('Any E WHERE E eid 1') selector = score_entity(lambda x: None) - rset = req.execute('Any E WHERE E eid 0') self.assertEqual(selector(None, req, rset), 0) selector = score_entity(lambda x: "something") self.assertEqual(selector(None, req, rset), 1)