Testing install unittest using pip: pip install unittest2 Go to tests/ directory cd tests/ Run the test script using unittest: python -m unittest tests.py