--- a/server/test/unittest_msplanner.py Fri Jul 31 14:18:53 2009 +0200
+++ b/server/test/unittest_msplanner.py Tue Aug 04 18:48:46 2009 +0200
@@ -1957,6 +1957,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: