fix bad test fix
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 05 Mar 2010 17:29:24 +0100
changeset 4817 9c8b39914998
parent 4814 5cd6d07c18de
child 4823 e833520870ee
fix bad test fix
server/test/unittest_msplanner.py
--- a/server/test/unittest_msplanner.py	Fri Mar 05 13:05:47 2010 +0100
+++ b/server/test/unittest_msplanner.py	Fri Mar 05 17:29:24 2010 +0100
@@ -1575,8 +1575,14 @@
         repo._type_source_cache[999998] = ('State', 'system', None)
         self._test('INSERT Note X: X in_state S, X type "bla", X migrated_from N WHERE S eid %(s)s, N eid %(n)s, A concerne N',
                    [('InsertStep',
-                     [('InsertRelationsStep', [])]
-                     )],
+                     [('InsertRelationsStep',
+                       [('OneFetchStep',
+                         [('Any A WHERE A concerne 999999, A is Affaire',
+                           [{'A': 'Affaire'}])],
+                         None, None, [self.system], {}, []),
+                        ]),
+                      ])
+                    ],
                    {'n': 999999, 's': 999998})
 
     def test_delete_relation1(self):