I came up with this solution based off of the __import__ python reference
page. If I missed anything let me know.
def suite():
# create TestSuite object
alltests = unittest.TestSuite()
# load all modules define in the module list
for name in mod_to_test:
print name
mod = __
Hopefully this is an easy question for someone to answer. I have a directory
structure like so:
alltest.py
prog.py
../package
__init__.py
mod1.py
test_mod1.py
modn. py
(and so on...)
Each test_mod*.py file contains some PyUnit test cases. I am using the
following code in