changeset 12178 | 4cf9f257e0bf |
parent 12177 | 8cc3af4d9c3a |
child 12496 | ad995a9905f9 |
--- a/cubicweb/test/unittest_rqlrewrite.py Fri Apr 21 10:29:07 2017 +0200 +++ b/cubicweb/test/unittest_rqlrewrite.py Fri Apr 21 10:29:44 2017 +0200 @@ -67,9 +67,7 @@ @staticmethod def annotate(rqlst): rqlhelper.annotate(rqlst) - @staticmethod - def simplify(mainrqlst, needcopy=False): - rqlhelper.simplify(rqlst, needcopy) + return rewriter_cls(mock_object(vreg=FakeVReg, user=(mock_object(eid=1))))