Hey Mark!

The `request.find_service` method is a request method... these are not
enabled by default as they are extensions to the individual request
instance. You can use `pyramid.request.apply_request_extensions(request)`
to make this happen in your setup code (after calling
`config.add_request_method(...)` or `config.include(...)`). You can do this
with either the DummyRequest of a real pyramid.request.Request object.

- Michael


On Tue, Jun 20, 2017 at 3:52 PM, Mark Laskey <[email protected]>
wrote:

> Never finished my sentence!
>
> We were going to explore the pyramid.requests.Request, but we aren't sure
> how to implement it within a test.
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/pylons-discuss/0acff96f-272a-467d-852f-313954a8e3b9%
> 40googlegroups.com
> <https://groups.google.com/d/msgid/pylons-discuss/0acff96f-272a-467d-852f-313954a8e3b9%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pylons-discuss/CAKdhhwEDZxsuf8APCEYZCkF5Vv%3DhSN1ciyme5oCJn-6atSJvNw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to