test/data/rewrite/bootstrap_cubes
author |
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> |
|
Tue, 31 Jul 2012 10:12:06 +0200 |
branch | stable |
changeset 8497 |
7f71e366cb5e |
parent 7790 |
7e16e056eecb
|
permissions |
-rw-r--r-- |
[testlib] consider rset for template / view selection (closes #2447183)
The original code did something like:
kwargs['rset'] = rset
viewfunc = lambda **k: viewsreg.main_template(req, template, **kwargs)
kwargs.pop('rset')
return self._test_view(viewfunc, view, template, kwargs)
meaning that by the time ``viewfunc`` (i.e. the lambda function) is called,
``rset`` was popped from ``kwargs`` and had no chance to be passed to ``main_template``.
7790
7e16e056eecb
[test] fix test subsquently to localperms introduction
Sylvain Thénault <sylvain.thenault@logilab.fr>
diff
changeset
|
1 |
card,localperms
|