--- a/server/test/unittest_msplanner.py Thu Aug 06 09:04:26 2009 +0200
+++ b/server/test/unittest_msplanner.py Thu Aug 06 09:51:52 2009 +0200
@@ -1962,6 +1962,12 @@
None, None, [self.system], {}, [])],
{'x': 999998, 'u': 999999})
+ def test_nonregr_identity_no_source_access(self):
+ repo._type_source_cache[999999] = ('CWUser', 'ldap', 999998)
+ self._test('Any S WHERE S identity U, S eid %(s)s, U eid %(u)s',
+ [('OneFetchStep', [('Any 999999 WHERE 999999 identity 999999', [{}])],
+ None, None, [self.system], {}, [])],
+ {'s': 999999, 'u': 999999})
class MSPlannerTwoSameExternalSourcesTC(BasePlannerTC):
"""test planner related feature on a 3-sources repository: