You might get away with request.session = {}

- C


On Thu, 2010-12-09 at 05:35 -0800, jerry wrote:
> Since I'm using pyramid_beaker session, my unittest fails --
> 
> ...
>     session = request.session
> AttributeError: 'DummyRequest' object has no attribute 'session'
> 
> What best-practice solution would you recommend?
> 
> Thanks in advance.
> 
> Jerry
> 


-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to