cubicweb #2544376 CubicWebTC.view doesn't handle req default value correctly [resolved]
If req is not explicitly specified, CubicWebTC.view uses rset.req if rset is not None otherwise, it creates a a new request object. This is fine except that it checks for rset's truthness rather than explicitly testing if result is None.
This means that when calling self.view with an empty rset, a new request object is created and it's then impossible to track it (e.g. to test output headers).
|closed by||#b236b91836c0 [test] fix req default value handling in CubicWebTC.view (closes #2544376)|