server/test/unittest_msplanner.py
changeset 4823 e833520870ee
parent 4817 9c8b39914998
parent 4815 4ee224c4c41d
child 4915 d657b89df9f4
--- a/server/test/unittest_msplanner.py	Fri Mar 05 17:29:24 2010 +0100
+++ b/server/test/unittest_msplanner.py	Fri Mar 05 18:20:39 2010 +0100
@@ -776,13 +776,12 @@
                          [{'X': 'Basket'}]),
                         ('Any X WHERE X has_text "bla", EXISTS(X owned_by 5), X is CWUser',
                          [{'X': 'CWUser'}]),
-                        ('Any X WHERE X has_text "bla", X is IN(BaseTransition, Card, Comment, Division, Email, EmailThread, File, Folder, Image, Note, Personne, Societe, State, SubDivision, Tag, Transition, Workflow, WorkflowTransition)',
-                         [{'X': 'BaseTransition'}, {'X': 'Card'}, {'X': 'Comment'},
+                        ('Any X WHERE X has_text "bla", X is IN(Card, Comment, Division, Email, EmailThread, File, Folder, Image, Note, Personne, Societe, SubDivision, Tag)',
+                         [{'X': 'Card'}, {'X': 'Comment'},
                           {'X': 'Division'}, {'X': 'Email'}, {'X': 'EmailThread'},
                           {'X': 'File'}, {'X': 'Folder'}, {'X': 'Image'},
                           {'X': 'Note'}, {'X': 'Personne'}, {'X': 'Societe'},
-                          {'X': 'State'}, {'X': 'SubDivision'}, {'X': 'Tag'},
-                          {'X': 'Transition'}, {'X': 'Workflow'}, {'X': 'WorkflowTransition'}]),],
+                          {'X': 'SubDivision'}, {'X': 'Tag'}]),],
                        None, None, [self.system], {}, []),
                       ])
                      ])
@@ -803,24 +802,22 @@
                             [{'X': 'Basket'}]),
                            ('Any X WHERE X has_text "bla", EXISTS(X owned_by 5), X is CWUser',
                             [{'X': 'CWUser'}]),
-                           ('Any X WHERE X has_text "bla", X is IN(BaseTransition, Card, Comment, Division, Email, EmailThread, File, Folder, Image, Note, Personne, Societe, State, SubDivision, Tag, Transition, Workflow, WorkflowTransition)',
-                            [{'X': 'BaseTransition'}, {'X': 'Card'}, {'X': 'Comment'},
+                           ('Any X WHERE X has_text "bla", X is IN(Card, Comment, Division, Email, EmailThread, File, Folder, Image, Note, Personne, Societe, SubDivision, Tag)',
+                            [{'X': 'Card'}, {'X': 'Comment'},
                              {'X': 'Division'}, {'X': 'Email'}, {'X': 'EmailThread'},
                              {'X': 'File'}, {'X': 'Folder'}, {'X': 'Image'},
                              {'X': 'Note'}, {'X': 'Personne'}, {'X': 'Societe'},
-                             {'X': 'State'}, {'X': 'SubDivision'}, {'X': 'Tag'},
-                             {'X': 'Transition'}, {'X': 'Workflow'}, {'X': 'WorkflowTransition'}])],
+                             {'X': 'SubDivision'}, {'X': 'Tag'}])],
                           [self.system], {}, {'X': 'table0.C0'}, []),
                          ]),
                     ('OneFetchStep',
                      [('Any X LIMIT 10 OFFSET 10',
-                       [{'X': 'Affaire'}, {'X': 'BaseTransition'}, {'X': 'Basket'},
+                       [{'X': 'Affaire'}, {'X': 'Basket'},
                         {'X': 'CWUser'}, {'X': 'Card'}, {'X': 'Comment'},
                         {'X': 'Division'}, {'X': 'Email'}, {'X': 'EmailThread'},
                         {'X': 'File'}, {'X': 'Folder'}, {'X': 'Image'},
                         {'X': 'Note'}, {'X': 'Personne'}, {'X': 'Societe'},
-                        {'X': 'State'}, {'X': 'SubDivision'}, {'X': 'Tag'},
-                        {'X': 'Transition'}, {'X': 'Workflow'}, {'X': 'WorkflowTransition'}])],
+                        {'X': 'SubDivision'}, {'X': 'Tag'}])],
                      10, 10, [self.system], {'X': 'table0.C0'}, [])
                      ])