We're going to take our tests from the previous chapters and organize them all into a tree of directories. Then we'll use Nose to run them all.
project. When we run
projectdirectory, modules (and packages) stored in
projectwill be accessible to all of the tests, no matter where the test is stored in the directory tree.
test_chapter2, and place the
test.pyfiles from Chapter 2 in it.
test_chapter3, and place the final
pid.txtfile from ...