devtools/repotest.py
changeset 6654 18d159a2d1ba
parent 6427 c8a5ac2d1eaa
child 6671 c34fa947df07
--- a/devtools/repotest.py	Wed Oct 27 08:51:50 2010 +0200
+++ b/devtools/repotest.py	Wed Oct 27 08:53:14 2010 +0200
@@ -363,15 +363,15 @@
     from cubicweb.server.msplanner import PartPlanInformation
 except ImportError:
     class PartPlanInformation(object):
-        def merge_input_maps(self, *args):
+        def merge_input_maps(self, *args, **kwargs):
             pass
         def _choose_term(self, sourceterms):
             pass
 _orig_merge_input_maps = PartPlanInformation.merge_input_maps
 _orig_choose_term = PartPlanInformation._choose_term
 
-def _merge_input_maps(*args):
-    return sorted(_orig_merge_input_maps(*args))
+def _merge_input_maps(*args, **kwargs):
+    return sorted(_orig_merge_input_maps(*args, **kwargs))
 
 def _choose_term(self, sourceterms):
     # predictable order for test purpose