The "recommended" approach for doing this would be to create a DummyRequest and then use its route_url, etc methods. This will allow you to use Pyramid's actual url generation apis instead of re-implementing them yourself, as well as avoiding needing to use the private route mapper.
req = DummyRequest()
req.route_url(...)
It's natural to use the DummyRequest as well because Pyramid's url generation facilities are always relative to the properties of a WSGI request like scheme, host, script_name, etc.
That being said your fixtures look great.
- Michael
> --
> You received this message because you are subscribed to the Google Groups "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
pylons-discus...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/pylons-discuss/87h7ozqkqx.fsf%40metapensiero.it.