The classes needed to write tests are to be found in the 'unittest' module.
This module is part of the standard Python library for Python 2.1 and later. If
you are using an older Python version, you should obtain the module from the
separate PyUnit distribution.
To be able to use the module from your own code, simply ensure that the
directory containing the file 'unittest.py' is in your Python search path. You
can do this by setting the '$PYTHONPATH' environment variable, or by placing the
file in a directory in your current Python search path, such as /usr/lib/python1.5/site-packages
on Redhat Linux machines.
Note that you will have to do this before you can run the examples that are
provided with PyUnit unless you copy 'unittest.py' into the examples directory.