mirror of
https://github.com/home-assistant/core.git
synced 2025-04-19 14:57:52 +00:00
Fix flakey Bluetooth options flow tests (#143215)
This commit is contained in:
parent
d3b335f53f
commit
59588f960d
@ -23,8 +23,7 @@ from . import (
|
||||
@pytest.fixture(name="disable_bluez_manager_socket", autouse=True, scope="package")
|
||||
def disable_bluez_manager_socket():
|
||||
"""Mock the bluez manager socket."""
|
||||
with patch.object(bleak_manager, "get_global_bluez_manager_with_timeout"):
|
||||
yield
|
||||
bleak_manager.get_global_bluez_manager_with_timeout._has_dbus_socket = False
|
||||
|
||||
|
||||
@pytest.fixture(name="disable_dbus_socket", autouse=True, scope="package")
|
||||
|
Loading…
x
Reference in New Issue
Block a user