Unit test time!
poetry add --dev pytest
The guide reads
poetry add --dev coverage[toml] pytest-cov
But at least my poetry does not recognize that [toml] format, not sure what its supposed to do. Also, the –dev syntax is deprecated. So, I ended up running
poetry add --group dev coverage pytest-cov
Installing nox with just pip install ended up putting it outside the venv, so instead:
python pip install nox # Using the poetry's pyenv version of python
For reason Python 3.7 does not work even though I’m following the tutorial. Seems every step needs some hacking: