test/data/bootstrap_cubes
author |
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> |
|
Tue, 31 Jul 2012 10:12:06 +0200 |
branch | stable |
changeset 8497 |
7f71e366cb5e |
parent 7797 |
a71618a75b53
|
child 10529 |
747eded13c68 |
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``.
7797
|
1 |
card, file, tag, localperms
|