Functions to help in using the pytest testing framework
The pytest-helper package provides several functions which make it easier to set up and run unit tests in Python using the pytest testing framework. For example, there is a function to make files self-testing whenever they are executed as scripts, and a function to simplify modifying the Python search path. One of the most useful features is that relative pathnames are relative to the file in which they occur. This package makes use of pytest but is independent of the official pytest project.
The easiest way to install is to install from PyPI using pip:
pip install pytest-helper