test/data/server_migration/2.6.0_Any.sql
author |
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> |
|
Tue, 31 Jul 2012 10:12:06 +0200 |
branch | stable |
changeset 8497 |
7f71e366cb5e |
parent 4021 |
280c910c8710
|
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``.