On Sat, Oct 31, 2009 at 7:47 AM, Brandon Craig Rhodes <[email protected]> wrote: > 2. How can a Plone test - whether a doctest or normal unit test - > submit a form to an off-site service and at the same time already > be ready to receive a signal back? There are two parts to this > question: first, since the test will often be running on a > computer behind a firewall, the test will have to be given the > name of an SSH account it can log into with an "-R" option so > that "http://wherever.it.is:PORT/" becomes a location that the > remote service can POST to and have it actually be received by > the test on whatever port it opens. And, second, how can the > test break into two threads to do the actual HTTP handling?
The Google Checkout processor tests fabricate the incoming signals from the checkout server. See http://code.google.com/p/getpaid/source/browse/getpaid.googlecheckout/trunk/src/getpaid/googlecheckout/googlecheckout.txt#128 http://code.google.com/p/getpaid/source/browse/getpaid.googlecheckout/trunk/src/getpaid/googlecheckout/googlecheckout-browser.txt#201 -- Michael Dunstan --~--~---------~--~----~------------~-------~--~----~ GetPaid for Plone: http://www.plonegetpaid.com (overview info) | http://code.google.com/p/getpaid (code and issue tracker) You received this message because you are subscribed to the Google Groups "getpaid-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/getpaid-dev?hl=en?hl=en -~----------~----~----~----~------~----~------~--~---
