[test] fix test, code from 3.13 gone in 3.12 accidentaly stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 01 Jul 2011 18:43:16 +0200
branchstable
changeset 7611 01296dd111d5
parent 7603 1302aa6ba4da
child 7612 bfd4ee0d43ac
child 7613 63bac28113a5
[test] fix test, code from 3.13 gone in 3.12 accidentaly
web/test/unittest_facet.py
--- a/web/test/unittest_facet.py	Fri Jul 01 15:26:12 2011 +0200
+++ b/web/test/unittest_facet.py	Fri Jul 01 18:43:16 2011 +0200
@@ -76,7 +76,7 @@
         f.add_rql_restrictions()
         # selection is cluttered because rqlst has been prepared for facet (it
         # is not in real life)
-        self.assertEqual(f.select.as_string(),
+        self.assertEqual(f.rqlst.as_string(),
                           'DISTINCT Any  WHERE X in_group G?, G name GN, NOT G name "users", X in_group D, D eid %s' % guests)
 
     def test_relation_no_relation_1(self):