Skip to content

[TODO]: CRAI finding #267

@CoMPaTech

Description

@CoMPaTech

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions