[mod_python] "Offline" Testing of Python Handlers

Jon-Pierre Gentil jgentil at sebistar.net
Fri Sep 24 19:13:23 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lee E. Brown wrote:

> I've been thinking that it would be useful to be able to run and debug
> Python Handler modules without actually having to run them with a live
> server.  To do this, I'd have to create an environment that can
> pass simulated request objects to the handlers and receive the
responses.
>
> There's certainly enough documentation around so that I could
eventually
> figure it out, but I thought I'd ask if anyone else has already done
> this before I go re-inventing the wheel.

I think about once a month someone comes up with this idea, and I
don't think I ever see anything done, though.  So if you accomplish
it, good luck!  :)

I think everyone just finds that setting up a local web server is far
easier, and guarantees a more stable system.


- --
_________________________________________________________

  Jon-Pierre Gentil               PGP: 0xA21BC30E
  jabber: jgentil at jabber.org      web: www.sebistar.net
  "If you think education is expensive, try ignorance."
_________________________________________________________
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iEYEARECAAYFAkFUqhMACgkQOrVFmaIbww4G/wCfbjkkAPYSGuNXgLGkcztULWPZ
bbkAoL7ubAauR0q+OvFhZS8vvZwpv9eP
=5W8d
-----END PGP SIGNATURE-----


More information about the Mod_python mailing list