server/test/unittest_msplanner.py
changeset 4915 d657b89df9f4
parent 4823 e833520870ee
child 5420 09b50d7e5321
--- a/server/test/unittest_msplanner.py	Tue Mar 16 16:32:36 2010 +0100
+++ b/server/test/unittest_msplanner.py	Tue Mar 16 17:19:10 2010 +0100
@@ -1010,7 +1010,7 @@
         self.session = self.user_groups_session('guests')
         self._test('Any X,XT,U WHERE X is Card, X owned_by U?, X title XT, U login L',
                    [('FetchStep',
-                     [('Any U,L WHERE U identity 5, U login L, U is CWUser',
+                     [('Any U,L WHERE U login L, EXISTS(U identity 5), U is CWUser',
                        [{'L': 'String', u'U': 'CWUser'}])],
                      [self.system], {}, {'L': 'table0.C1', 'U': 'table0.C0', 'U.login': 'table0.C1'}, []),
                     ('FetchStep',