[test] specify X type, as this is not infered from NOT identity with rql#default
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 25 Oct 2011 18:59:15 +0200
changeset 8022 1d9449663140
parent 8021 25fbfd84529f
child 8024 ff8ea924b10f
[test] specify X type, as this is not infered from NOT identity with rql#default
server/test/unittest_msplanner.py
--- a/server/test/unittest_msplanner.py	Tue Oct 25 18:57:51 2011 +0200
+++ b/server/test/unittest_msplanner.py	Tue Oct 25 18:59:15 2011 +0200
@@ -767,7 +767,7 @@
 
     def test_not_identity(self):
         ueid = self.session.user.eid
-        self._test('Any X WHERE NOT X identity U, U eid %s' % ueid,
+        self._test('Any X WHERE NOT X identity U, U eid %s, X is CWUser' % ueid,
                    [('OneFetchStep',
                      [('Any X WHERE NOT X identity %s, X is CWUser' % ueid, [{'X': 'CWUser'}])],
                      None, None,