equal
deleted
inserted
replaced
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): |