matflow.pytest_plugin#

Pytest plugin for test CLI options.

Note this was separated from conftest.py due to an issue with running tests from the single-file Pyinstaller-built executable on Windows, where it would seemingly be invoked twice (on GitHub actions at least), resulting in addoption failing, since the option already existed.

If running tests via python -m pytest (instead of via the app test command), this plugin module must be provided as follows: python -m pytest -p matflow.pytest_plugin

Functions

pytest_addoption

pytest_configure