1960 self._test('Any X WHERE X eid %(x)s, X owned_by U, U eid %(u)s', |
1960 self._test('Any X WHERE X eid %(x)s, X owned_by U, U eid %(u)s', |
1961 [('OneFetchStep', [('Any 999998 WHERE 999998 owned_by 999999', [{}])], |
1961 [('OneFetchStep', [('Any 999998 WHERE 999998 owned_by 999999', [{}])], |
1962 None, None, [self.system], {}, [])], |
1962 None, None, [self.system], {}, [])], |
1963 {'x': 999998, 'u': 999999}) |
1963 {'x': 999998, 'u': 999999}) |
1964 |
1964 |
|
1965 def test_nonregr_identity_no_source_access(self): |
|
1966 repo._type_source_cache[999999] = ('CWUser', 'ldap', 999998) |
|
1967 self._test('Any S WHERE S identity U, S eid %(s)s, U eid %(u)s', |
|
1968 [('OneFetchStep', [('Any 999999 WHERE 999999 identity 999999', [{}])], |
|
1969 None, None, [self.system], {}, [])], |
|
1970 {'s': 999999, 'u': 999999}) |
1965 |
1971 |
1966 class MSPlannerTwoSameExternalSourcesTC(BasePlannerTC): |
1972 class MSPlannerTwoSameExternalSourcesTC(BasePlannerTC): |
1967 """test planner related feature on a 3-sources repository: |
1973 """test planner related feature on a 3-sources repository: |
1968 |
1974 |
1969 * 2 rql sources supporting Card |
1975 * 2 rql sources supporting Card |