This would be nice to have documented under: http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/testing.html#creating-integration-tests
As well as an example showing the use of a real p.r.Request object for when you do need the full power of the Request object. Bert > On Jun 20, 2017, at 15:00 , Michael Merickel <[email protected]> wrote: > > 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. > > 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. -- 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/14AD8C0C-030A-4B19-B4D1-21540BADE615%400x58.com. For more options, visit https://groups.google.com/d/optout.
smime.p7s
Description: S/MIME cryptographic signature
