The important change here is the addition of a file called pytest.ini which tells pytest to look in the tests directory and ignore other files that may begin with "test*". This fixes a problem where running pytest in the root directory failed because an example in the main source code, not a unit test, would run and fail.
This was reviewed by two people and is re-uploaded as a branch on the main repo. I may be able to merge it but would be more comfortable if somebody else hit the button.
The important change here is the addition of a file called
pytest.ini
which tells pytest to look in the tests directory and ignore other files that may begin with "test*". This fixes a problem where running pytest in the root directory failed because an example in the main source code, not a unit test, would run and fail.This was reviewed by two people and is re-uploaded as a branch on the main repo. I may be able to merge it but would be more comfortable if somebody else hit the button.
Thank You!