> > On one specific test, after stepping through a form, I need to receive a > web request from the LetsEncrypt test server. > > Does anyone know if it is possible to somehow bind an existing TestApp() > instance to a port, or if there is a way to leverage webtest.http with an > existing TestApp instance? >
Here is an example how to create a test web server for WSGI app (Pyramid): https://github.com/websauna/websauna/blob/master/websauna/tests/webserver.py#L14 Note that it works with Pyramid WSGI app, not TestApp. TestApp itself wraps the underlying WSGI app. -Mikko > -- > 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-discuss+unsubscr...@googlegroups.com. > To post to this group, send email to pylons-discuss@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/pylons-discuss/1d24d89a-ca55-4353-a0e1-1f9842e24016%40googlegroups.com > <https://groups.google.com/d/msgid/pylons-discuss/1d24d89a-ca55-4353-a0e1-1f9842e24016%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Mikko Ohtamaa http://opensourcehacker.com http://twitter.com/moo9000 -- 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-discuss+unsubscr...@googlegroups.com. To post to this group, send email to pylons-discuss@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/CAK8RCUtZmO16Hs1Zq1OBKU1swY8ejb5LETxipT5Ctp%3DrdF7_5A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.