author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Fri, 21 Apr 2017 10:29:44 +0200 | |
changeset 12178 | 4cf9f257e0bf |
parent 12177 | 8cc3af4d9c3a |
child 12179 | 14f85569eda2 |
--- 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))))