test/unittest_rqlrewrite.py
branchstable
changeset 9188 0677e03077fb
parent 9170 e6fe77dbcfdf
child 9189 9448215c73c4
--- a/test/unittest_rqlrewrite.py	Wed Jul 24 16:49:40 2013 +0200
+++ b/test/unittest_rqlrewrite.py	Wed Jul 24 16:55:24 2013 +0200
@@ -73,9 +73,7 @@
                     for snippet in exprs]
         snippets.append((dict([v]), rqlexprs))
     rqlhelper.compute_solutions(rqlst.children[0], {'eid': eid_func_map}, kwargs=kwargs)
-    solutions = rqlst.children[0].solutions
-    rewriter.rewrite(rqlst.children[0], snippets, solutions, kwargs,
-                     existingvars)
+    rewriter.rewrite(rqlst.children[0], snippets, kwargs, existingvars)
     test_vrefs(rqlst.children[0])
     return rewriter.rewritten