Todo
tests/components/plugwise_usb/conftest.py
Comment on lines 124 to +127
@pytest.fixture(autouse=True)
def auto_enable_custom_integrations(enable_custom_integrations):
"""Enable custom integrations."""
yield
return
@coderabbitai coderabbitai bot 3 hours ago
⚠️ Potential issue
Fixture should yield, not return
An autouse fixture that simply returns will not invoke enable_custom_integrations properly or handle teardown. Change this back to a yield or call the fixture directly.
Todo
tests/components/plugwise_usb/conftest.py
⚠️ Potential issue
Comment on lines 124 to +127
@pytest.fixture(autouse=True)
def auto_enable_custom_integrations(enable_custom_integrations):
"""Enable custom integrations."""
yield
return
@coderabbitai coderabbitai bot 3 hours ago
Fixture should yield, not return
An autouse fixture that simply returns will not invoke enable_custom_integrations properly or handle teardown. Change this back to a yield or call the fixture directly.