To install:
pip install pytest
To execute:
pytest
Pytest will run the tests in any file prefixed with test_.
test_