mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 05:37:44 +00:00
parent
201e958854
commit
8fbdc703e0
@ -55,6 +55,7 @@ def mock_MQTT():
|
||||
"""Make sure connection is established."""
|
||||
with mock.patch("homeassistant.components.mqtt.MQTT") as mock_MQTT:
|
||||
mock_MQTT.return_value.async_connect.return_value = mock_coro(True)
|
||||
mock_MQTT.return_value.async_disconnect.return_value = mock_coro(True)
|
||||
yield mock_MQTT
|
||||
|
||||
|
||||
|
@ -48,26 +48,6 @@ IGNORE_UNCAUGHT_EXCEPTIONS = [
|
||||
("tests.components.ios.test_init", "test_creating_entry_sets_up_sensor"),
|
||||
("tests.components.ios.test_init", "test_not_configuring_ios_not_creates_entry"),
|
||||
("tests.components.local_file.test_camera", "test_file_not_readable"),
|
||||
(
|
||||
"tests.components.mqtt.test_init",
|
||||
"test_setup_uses_certificate_on_certificate_set_to_auto",
|
||||
),
|
||||
(
|
||||
"tests.components.mqtt.test_init",
|
||||
"test_setup_does_not_use_certificate_on_mqtts_port",
|
||||
),
|
||||
(
|
||||
"tests.components.mqtt.test_init",
|
||||
"test_setup_without_tls_config_uses_tlsv1_under_python36",
|
||||
),
|
||||
(
|
||||
"tests.components.mqtt.test_init",
|
||||
"test_setup_with_tls_config_uses_tls_version1_2",
|
||||
),
|
||||
(
|
||||
"tests.components.mqtt.test_init",
|
||||
"test_setup_with_tls_config_of_v1_under_python36_only_uses_v1",
|
||||
),
|
||||
("tests.components.qwikswitch.test_init", "test_binary_sensor_device"),
|
||||
("tests.components.qwikswitch.test_init", "test_sensor_device"),
|
||||
("tests.components.rflink.test_init", "test_send_command_invalid_arguments"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user