unit tests with mod_python
i at mindlace.net
Wed Jun 18 19:35:32 CEST 2003
I am experimenting with test driven development. I'm working with
mod_python, however, and of course you can't import apache from
mod_python outside of actually running within apache.
Before I reinvent the wheel, has anyone written a mod_python simulacrum
for use in unit tests - one that provides, at a minimum, a faux request
object and the other attributes (like apache.OK) needed to run in a
Alternately, has anyone set up a way to drive requests from unittest?
More information about the Python-list