web/test/unittest_magicsearch.py
changeset 8510 e2913c9880a0
parent 8505 dcd9bc1d1bca
child 9651 c739ebc18b79
--- a/web/test/unittest_magicsearch.py	Wed Aug 01 10:47:27 2012 +0200
+++ b/web/test/unittest_magicsearch.py	Thu Aug 02 10:09:11 2012 +0200
@@ -235,7 +235,6 @@
     def suggestions(self, rql):
         req = self.request()
         rbs = self.vreg['components'].select('rql.suggestions', req)
-        rbs.attr_value_limit = 10 # limit to 10 to ease vocabulry tests
         return rbs.build_suggestions(rql)
 
     def test_no_restrictions_rql(self):
@@ -319,6 +318,11 @@
             req.create_entity('Personne', nom=u'n%s' % i, prenom=u'p%s' % i)
         self.assertListEqual(['Any X WHERE X is Personne, X nom "n0"',
                               'Any X WHERE X is Personne, X nom "n1"',
+                              'Any X WHERE X is Personne, X nom "n10"',
+                              'Any X WHERE X is Personne, X nom "n11"',
+                              'Any X WHERE X is Personne, X nom "n12"',
+                              'Any X WHERE X is Personne, X nom "n13"',
+                              'Any X WHERE X is Personne, X nom "n14"',
                               'Any X WHERE X is Personne, X nom "n2"',
                               'Any X WHERE X is Personne, X nom "n3"',
                               'Any X WHERE X is Personne, X nom "n4"',