To test python-OBD, you will need to pip install pytest and install the module (preferably in a virtualenv) by running python setup.py install
To run all tests, run the following command:
$ py.test tests/
For more information on pytest with virtualenvs, read more here