server/test/unittest_msplanner.py
branchstable
changeset 3689 deb13e88e037
parent 3633 2d81178bea5f
child 3720 5376aaadd16b
child 3815 50b87f759b5d
equal deleted inserted replaced
3688:421fb447ecb2 3689:deb13e88e037
   224         self._test('Any X,Y WHERE X login "syt", Y login "adim"', {'x': ueid},
   224         self._test('Any X,Y WHERE X login "syt", Y login "adim"', {'x': ueid},
   225                    {self.system: {'Y': s[0], 'X': s[0]},
   225                    {self.system: {'Y': s[0], 'X': s[0]},
   226                     self.ldap: {'Y': s[0], 'X': s[0]}}, True)
   226                     self.ldap: {'Y': s[0], 'X': s[0]}}, True)
   227 
   227 
   228     def test_complex_aggregat(self):
   228     def test_complex_aggregat(self):
   229         solindexes = set(range(len([e for e in self.schema.entities() if not e.is_final()])))
   229         solindexes = set(range(len([e for e in self.schema.entities() if not e.final])))
   230         self._test('Any MAX(X)',
   230         self._test('Any MAX(X)',
   231                    {self.system: {'X': solindexes}}, False)
   231                    {self.system: {'X': solindexes}}, False)
   232 
   232 
   233     def test_complex_optional(self):
   233     def test_complex_optional(self):
   234         ueid = self.session.user.eid
   234         ueid = self.session.user.eid