test/unittest_schema.py
changeset 7604 1eb6090311ff
parent 7469 f8c983afbf8e
parent 7603 1302aa6ba4da
child 7642 64eee2a83bfa
--- a/test/unittest_schema.py	Fri Jul 01 13:39:45 2011 +0200
+++ b/test/unittest_schema.py	Fri Jul 01 15:26:33 2011 +0200
@@ -320,8 +320,8 @@
 
 class GuessRrqlExprMainVarsTC(TestCase):
     def test_exists(self):
-        mainvars = guess_rrqlexpr_mainvars(normalize_expression('NOT EXISTS(O team_competition C, C level < 3)'))
-        self.assertEqual(mainvars, set(['O']))
+        mainvars = guess_rrqlexpr_mainvars(normalize_expression('NOT EXISTS(O team_competition C, C level < 3, C concerns S)'))
+        self.assertEqual(mainvars, set(['S', 'O']))
 
 
 if __name__ == '__main__':