test/unittest_schema.py
changeset 13 bae30087db21
parent 0 b97547f5f1fa
child 624 258e5692ae06
child 951 d4bb69eac55a
equal deleted inserted replaced
12:95bc1d15349b 13:bae30087db21
   140         self.assertEquals(schema.name, 'data')
   140         self.assertEquals(schema.name, 'data')
   141         entities = [str(e) for e in schema.entities()]
   141         entities = [str(e) for e in schema.entities()]
   142         entities.sort()
   142         entities.sort()
   143         expected_entities = ['Bookmark', 'Boolean', 'Bytes', 'Card', 
   143         expected_entities = ['Bookmark', 'Boolean', 'Bytes', 'Card', 
   144                              'Date', 'Datetime', 'Decimal',
   144                              'Date', 'Datetime', 'Decimal',
   145                              'EConstraint', 'EConstraintType', 'EEType',
   145                              'ECache', 'EConstraint', 'EConstraintType', 'EEType',
   146                              'EFRDef', 'EGroup', 'EmailAddress', 'ENFRDef',
   146                              'EFRDef', 'EGroup', 'EmailAddress', 'ENFRDef',
   147                              'EPermission', 'EProperty', 'ERType', 'EUser',
   147                              'EPermission', 'EProperty', 'ERType', 'EUser',
   148                              'Float', 'Int', 'Interval', 
   148                              'Float', 'Int', 'Interval', 
   149                              'Password', 
   149                              'Password', 
   150                              'RQLExpression', 
   150                              'RQLExpression', 
   184 
   184 
   185                               'read_permission', 'relation_type', 'require_group',
   185                               'read_permission', 'relation_type', 'require_group',
   186                               
   186                               
   187                               'specializes', 'state_of', 'surname', 'symetric', 'synopsis',
   187                               'specializes', 'state_of', 'surname', 'symetric', 'synopsis',
   188 
   188 
   189                               'title', 'to_entity', 'to_state', 'transition_of',
   189                               'timestamp', 'title', 'to_entity', 'to_state', 'transition_of',
   190 
   190 
   191                               'upassword', 'update_permission', 'use_email',
   191                               'upassword', 'update_permission', 'use_email',
   192 
   192 
   193                               'value', 
   193                               'value', 
   194 
   194