Derived from the flake8-pytest-style linter.
What it does#
pytest test functions that should be decorated with
Why is this bad?#
pytest, fixture injection is used to activate fixtures in a test
Fixtures can be injected either by passing them as parameters to the test
function, or by using the
If the test function depends on the fixture being activated, but does not
use it in the test body or otherwise rely on its return value, prefer
@pytest.mark.usefixtures decorator, to make the dependency explicit
and avoid the confusion caused by unused arguments.