server/test/unittest_rql2sql.py
changeset 3720 5376aaadd16b
parent 3674 387d51af966d
parent 3689 deb13e88e037
child 3777 3ef8cdb5fb1c
equal deleted inserted replaced
3678:29f74716fd70 3720:5376aaadd16b
  1080                 s.add(sol.get(var))
  1080                 s.add(sol.get(var))
  1081             return s
  1081             return s
  1082         self.assertEquals(var_sols('FROM_ENTITYOBJECT'), set(('CWAttribute', 'CWRelation')))
  1082         self.assertEquals(var_sols('FROM_ENTITYOBJECT'), set(('CWAttribute', 'CWRelation')))
  1083         self.assertEquals(var_sols('FROM_ENTITYOBJECT'), delete.defined_vars['FROM_ENTITYOBJECT'].stinfo['possibletypes'])
  1083         self.assertEquals(var_sols('FROM_ENTITYOBJECT'), delete.defined_vars['FROM_ENTITYOBJECT'].stinfo['possibletypes'])
  1084         self.assertEquals(var_sols('ISOBJECT'),
  1084         self.assertEquals(var_sols('ISOBJECT'),
  1085                           set(x.type for x in self.schema.entities() if not x.is_final()))
  1085                           set(x.type for x in self.schema.entities() if not x.final))
  1086         self.assertEquals(var_sols('ISOBJECT'), delete.defined_vars['ISOBJECT'].stinfo['possibletypes'])
  1086         self.assertEquals(var_sols('ISOBJECT'), delete.defined_vars['ISOBJECT'].stinfo['possibletypes'])
  1087 
  1087 
  1088 
  1088 
  1089 class PostgresSQLGeneratorTC(RQLGeneratorTC):
  1089 class PostgresSQLGeneratorTC(RQLGeneratorTC):
  1090     schema = schema
  1090     schema = schema