test function {name} has default value for argument {arg}, remove it
Bad code:
def test_foo(bar=42):
passGood code:
def test_foo(bar):
pass- even if the corresponding fixture is defined, current behavior of pytest is to use the default value instead of injecting the fixture
- see original pytest issue: https://github.com/pytest-dev/pytest#12693