Move mock_bluetooth* fixtures to decorator (#118846)
This commit is contained in:
parent
33ed4fd862
commit
632238a7f9
12 changed files with 113 additions and 214 deletions
|
@ -432,11 +432,11 @@ async def test_discovery_match_by_service_uuid(
|
|||
}
|
||||
],
|
||||
)
|
||||
@pytest.mark.usefixtures("mock_bluetooth_adapters")
|
||||
async def test_discovery_match_by_service_uuid_and_short_local_name(
|
||||
mock_async_get_bluetooth: AsyncMock,
|
||||
hass: HomeAssistant,
|
||||
mock_bleak_scanner_start: MagicMock,
|
||||
mock_bluetooth_adapters: None,
|
||||
) -> None:
|
||||
"""Test bluetooth discovery match by service_uuid and short local name."""
|
||||
entry = MockConfigEntry(domain="bluetooth", unique_id="00:00:00:00:00:01")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue