[Tutor] import and unittest

Thomas Coopman thomas.coopman at gmail.com
Tue Jan 16 10:01:10 CET 2007


the documentation of pyunit
say that it is good to place the unittest in a seperate module.
I wondered if it was possible to do something like this:


So the test are in a complete different directory than the code and the test
dir is a complete copy
of the src dir but with unittest instead of code.

I have something like this but I don't know how to organize the imports in
the tests and I don't know
if this is a good idea.  What do you think?


Thomas Coopman
Thomas.coopman at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070116/694ac548/attachment-0001.html 

More information about the Tutor mailing list