--- 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__':