Fix uncaught exceptions in upnp (#33604)

removed also the yr tests that are already successful
This commit is contained in:
Ziv 2020-04-04 08:44:57 +03:00 committed by GitHub
parent b60527c986
commit 0d05bd309a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 5 deletions

View File

@ -19,6 +19,7 @@ class MockDevice(Device):
device = MagicMock()
device.manufacturer = "mock-manuf"
device.name = "mock-name"
device.model_name = "mock-model-name"
super().__init__(device)
self._udn = udn
self.added_port_mappings = []

View File

@ -57,11 +57,6 @@ IGNORE_UNCAUGHT_EXCEPTIONS = [
"test_configuring_devices_from_multiple_sources",
),
("tests.components.unifi_direct.test_device_tracker", "test_get_scanner"),
("tests.components.upnp.test_init", "test_async_setup_entry_default"),
("tests.components.upnp.test_init", "test_async_setup_entry_port_mapping"),
("tests.components.yr.test_sensor", "test_default_setup"),
("tests.components.yr.test_sensor", "test_custom_setup"),
("tests.components.yr.test_sensor", "test_forecast_setup"),
("tests.components.zwave.test_init", "test_power_schemes"),
]