"This is where functest really shines. When you run functest against any directory or file the collector actually compiles a dependency chain which includes any valid python modules in all the parent directories..."
Hm. So functest would let me dispense with this nonsense boilerplate in my test modules?
import sys import os thisdir = os.path.abspath(os.path.dirname(file)) def relpath(p): return os.path.abspath(os.path.join(thisdir, p)) sys.path.insert(relpath("../"))
I wonder if nose does/will provide similar facilities? It's pretty nice in other respects...