I ended up subclassing DummyRequest to add the functionality where i needed it 
(I had a number of other aspects to add to the class due to the app setup, so 
it wasn't too painful)

I suppose it can't be a bad thing to resemble webob.Request as closely as 
possible?

On 4 Nov 2010, at 12:40, Wichert Akkerman wrote:

> Since the issue tracker on bfg.repoze.org is still broken I'm posting 
> this here.
> 
> I ran into a little problem today: I was adding some tests for a 
> function which uses request.POST.getall(), but it turns out that 
> repoze.bfg.testing.DummyRequest uses a plain dict for POST instead of a 
> WebOb multidict, so .getall() is not available.
> 
> Wichert.
> _______________________________________________
> Repoze-dev mailing list
> Repoze-dev@lists.repoze.org
> http://lists.repoze.org/listinfo/repoze-dev

_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to