test/unittest_schema.py
branchstable
changeset 4611 599189430c0e
parent 4469 310b5f01c982
child 5179 f08943f22334
equal deleted inserted replaced
4610:7bf205b9a845 4611:599189430c0e
   255         ex = self.assertRaises(BadSchemaDefinition,
   255         ex = self.assertRaises(BadSchemaDefinition,
   256                                self.loader._build_schema, 'toto', False)
   256                                self.loader._build_schema, 'toto', False)
   257         self.assertEquals(str(ex), msg)
   257         self.assertEquals(str(ex), msg)
   258 
   258 
   259     def test_rrqlexpr_on_etype(self):
   259     def test_rrqlexpr_on_etype(self):
   260         self._test('rrqlexpr_on_eetype.py', "can't use RRQLExpression on an entity type, use an ERQLExpression (ToTo)")
   260         self._test('rrqlexpr_on_eetype.py', "can't use RRQLExpression on ToTo, use an ERQLExpression")
   261 
   261 
   262     def test_erqlexpr_on_rtype(self):
   262     def test_erqlexpr_on_rtype(self):
   263         self._test('erqlexpr_on_ertype.py', "can't use ERQLExpression on relation ToTo toto TuTu, use a RRQLExpression")
   263         self._test('erqlexpr_on_ertype.py', "can't use ERQLExpression on relation ToTo toto TuTu, use a RRQLExpression")
   264 
   264 
   265     def test_rqlexpr_on_rtype_read(self):
   265     def test_rqlexpr_on_rtype_read(self):