server/test/unittest_msplanner.py
branchstable
changeset 2108 b3f6fa7ad59f
parent 2076 65cbe891edac
child 2114 862f27d94af4
equal deleted inserted replaced
2107:6c4a4c514ac2 2108:b3f6fa7ad59f
  2108                      None, None, [self.system],
  2108                      None, None, [self.system],
  2109                      {'VC': 'table0.C0'},
  2109                      {'VC': 'table0.C0'},
  2110                      [])
  2110                      [])
  2111                     ])
  2111                     ])
  2112 
  2112 
       
  2113     def test_fully_simplified_extsource(self):
       
  2114         self.repo._type_source_cache[999998] = ('Note', 'vcs', 999998)
       
  2115         self.repo._type_source_cache[999999] = ('Note', 'vcs', 999999)
       
  2116         self._test('Any X, Y WHERE NOT X multisource_rel Y, X eid 999998, Y eid 999999',
       
  2117                    [('OneFetchStep', [('Any 999998,999999 WHERE NOT 999998 multisource_rel 999999', [{}])],
       
  2118                      None, None, [self.vcs], {}, [])
       
  2119                     ])
       
  2120 
  2113 
  2121 
  2114 if __name__ == '__main__':
  2122 if __name__ == '__main__':
  2115     from logilab.common.testlib import unittest_main
  2123     from logilab.common.testlib import unittest_main
  2116     unittest_main()
  2124     unittest_main()