Last time I introduced a small bug (unintentionally). The test file as it existed then began with
import pytest. I typed this habitually, because I usually need to import pytest in files with tests in them (we'll see why).
But it's not necessary.
pytest, the program I run from the command line, finds tests (when I run that program) and does its thing with them. Sometimes I want, separately, to use functions provided by
pytest (the homonymous library)--but I'm not using any here.
If you don't quite grok that, you can choose to research it now or not, as you choose.
What we need to do is:
pytestagain to verify that the tests still pass.
This will be, hopefully, a straightforward exercise in using your editor and git. If not, happy Googling.
Here's the current commit of the veery repository.
Next post: Python task manager from scratch, part 12: A Task repository