cubicweb/server/test/unittest_querier.py
changeset 12539 10159a3d1d72
parent 12248 6350e0a482d5
child 12567 26744ad37953
--- a/cubicweb/server/test/unittest_querier.py	Fri Mar 22 17:30:09 2019 +0100
+++ b/cubicweb/server/test/unittest_querier.py	Fri Mar 22 17:29:15 2019 +0100
@@ -176,7 +176,7 @@
                                            'ET': 'CWEType', 'ETN': 'String'}])
             rql, solutions = partrqls[1]
             self.assertRQLEqual(rql,  'Any ETN,X WHERE X is ET, ET name ETN, ET is CWEType, '
-                                'X is IN(BaseTransition, Bookmark, CWAttribute, CWCache, CWComputedRType, '
+                                'X is IN(BaseTransition, Bookmark, CWAttribute, CWComputedRType, '
                                 '        CWConstraint, CWConstraintType, CWEType, CWGroup, CWPermission, CWProperty, '
                                 '        CWRType, CWRelation, CWSource, CWUniqueTogetherConstraint, CWUser, Card, '
                                 '        Comment, Division, Email, EmailPart, EmailThread, ExternalUri, File, Folder, '
@@ -188,7 +188,6 @@
                                    {'X': 'Card', 'ETN': 'String', 'ET': 'CWEType'},
                                    {'X': 'Comment', 'ETN': 'String', 'ET': 'CWEType'},
                                    {'X': 'Division', 'ETN': 'String', 'ET': 'CWEType'},
-                                   {'X': 'CWCache', 'ETN': 'String', 'ET': 'CWEType'},
                                    {'X': 'CWComputedRType', 'ETN': 'String', 'ET': 'CWEType'},
                                    {'X': 'CWConstraint', 'ETN': 'String', 'ET': 'CWEType'},
                                    {'X': 'CWConstraintType', 'ETN': 'String', 'ET': 'CWEType'},
@@ -615,16 +614,16 @@
         self.assertListEqual(rset.rows,
                               [[u'description_format', 13],
                                [u'description', 14],
-                               [u'name', 19],
-                               [u'created_by', 45],
-                               [u'creation_date', 45],
-                               [u'cw_source', 45],
-                               [u'cwuri', 45],
-                               [u'in_basket', 45],
-                               [u'is', 45],
-                               [u'is_instance_of', 45],
-                               [u'modification_date', 45],
-                               [u'owned_by', 45]])
+                               [u'name', 18],
+                               [u'created_by', 44],
+                               [u'creation_date', 44],
+                               [u'cw_source', 44],
+                               [u'cwuri', 44],
+                               [u'in_basket', 44],
+                               [u'is', 44],
+                               [u'is_instance_of', 44],
+                               [u'modification_date', 44],
+                               [u'owned_by', 44]])
 
     def test_select_aggregat_having_dumb(self):
         # dumb but should not raise an error