server/test/unittest_msplanner.py
changeset 4817 9c8b39914998
parent 4775 3a37f0ce7527
child 4823 e833520870ee
--- 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):