-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
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
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.
Metadata
Metadata
Assignees
Labels
No labels