equal
deleted
inserted
replaced
149 self.assertRaises(RQLSyntaxError, RRQLExpression, 'O X Y') |
149 self.assertRaises(RQLSyntaxError, RRQLExpression, 'O X Y') |
150 expr = RRQLExpression('U has_update_permission O') |
150 expr = RRQLExpression('U has_update_permission O') |
151 self.assertEqual(str(expr), 'Any O,U WHERE U has_update_permission O, O eid %(o)s, U eid %(u)s') |
151 self.assertEqual(str(expr), 'Any O,U WHERE U has_update_permission O, O eid %(o)s, U eid %(u)s') |
152 |
152 |
153 loader = CubicWebSchemaLoader() |
153 loader = CubicWebSchemaLoader() |
154 config = TestConfiguration('data') |
154 config = TestConfiguration('data', apphome=DATADIR) |
155 config.bootstrap_cubes() |
155 config.bootstrap_cubes() |
156 |
156 |
157 class SchemaReaderClassTest(TestCase): |
157 class SchemaReaderClassTest(TestCase): |
158 |
158 |
159 def test_order_eschemas(self): |
159 def test_order_eschemas(self): |