tasks_proj/tests directories exist in chapters 2, 3, 5 that have tests that use the custom markers
get, which are not declared in a
pytest.ini file. This was allowed when the book was published. But recent versions of pytest will issue a warning with undeclared markers.
To fix the warning, add this small
pytest.ini file to any
tests directory that’s causing a problem:
[pytest] markers = smoke get