--- a/server/test/unittest_querier.py Tue Sep 23 17:34:36 2014 +0200
+++ b/server/test/unittest_querier.py Thu Sep 25 15:49:13 2014 +0200
@@ -176,8 +176,8 @@
'X is IN(BaseTransition, Bookmark, CWAttribute, CWCache, CWComputedRType, '
' CWConstraint, CWConstraintType, CWEType, CWGroup, CWPermission, CWProperty, '
' CWRType, CWRelation, CWSource, CWUniqueTogetherConstraint, CWUser, Card, '
- ' Comment, Division, Email, EmailPart, EmailThread, ExternalUri, File, '
- ' Folder, Note, Old, Personne, RQLExpression, Societe, State, SubDivision, '
+ ' Comment, Division, Email, EmailPart, EmailThread, ExternalUri, File, Folder, '
+ ' Frozable, Note, Old, Personne, RQLExpression, Societe, State, SubDivision, '
' SubWorkflowExitPoint, Tag, TrInfo, Transition, Workflow, WorkflowTransition)')
self.assertListEqual(sorted(solutions),
sorted([{'X': 'BaseTransition', 'ETN': 'String', 'ET': 'CWEType'},
@@ -205,6 +205,7 @@
{'X': 'ExternalUri', 'ETN': 'String', 'ET': 'CWEType'},
{'X': 'File', 'ETN': 'String', 'ET': 'CWEType'},
{'X': 'Folder', 'ETN': 'String', 'ET': 'CWEType'},
+ {'X': 'Frozable', 'ETN': 'String', 'ET': 'CWEType'},
{'X': 'Note', 'ETN': 'String', 'ET': 'CWEType'},
{'X': 'Old', 'ETN': 'String', 'ET': 'CWEType'},
{'X': 'Personne', 'ETN': 'String', 'ET': 'CWEType'},
@@ -605,16 +606,16 @@
self.assertListEqual(rset.rows,
[[u'description_format', 13],
[u'description', 14],
- [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]])
+ [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]])
def test_select_aggregat_having_dumb(self):
# dumb but should not raise an error