[server/test] fix broken test
authorRémi Cardona <remi.cardona@logilab.fr>
Mon, 22 Jun 2015 12:23:50 +0200
changeset 10403 fe614ec1688c
parent 10402 e3c20f4d1a7c
child 10404 797db633d60c
[server/test] fix broken test The first bad revision is: changeset: 10396:82071f767cb8 user: Sylvain Thénault <sylvain.thenault@logilab.fr> date: Thu Jun 11 17:35:11 2015 +0200 summary: [schemas] cwuri should be read-only This changed the number of RQLExpressions to be more than the number of CWRelations in the test's schema. Related to #5457566.
server/test/unittest_querier.py
--- a/server/test/unittest_querier.py	Thu Jun 18 14:43:06 2015 +0200
+++ b/server/test/unittest_querier.py	Mon Jun 22 12:23:50 2015 +0200
@@ -361,7 +361,7 @@
         result, descr = rset.rows, rset.description
         self.assertEqual(descr[0][0], 'String')
         self.assertEqual(descr[0][1], 'Int')
-        self.assertEqual(result[0][0], 'CWRelation') # XXX may change as schema evolve
+        self.assertEqual(result[0][0], 'RQLExpression') # XXX may change as schema evolve
 
     def test_select_groupby_orderby(self):
         rset = self.qexecute('Any N GROUPBY N ORDERBY N WHERE X is CWGroup, X name N')