First pass fixing tests that raise exceptions caught by asyncio.gather (#25860)
* First pass fixing tests that raise exceptions caught by asyncio.gather * Fix demo test * lint
This commit is contained in:
1 parent
76f2e6015f
commit
6f357cb23e
18 files changed
+79
-14
No files matched your search
@@ -18,7 +18,10 @@ class MockDevice(Device):
|
||||
|
||||
def __init__(self, udn):
|
||||
"""Initializer."""
|
||||
super().__init__(MagicMock())
|
||||
device = MagicMock()
|
||||
device.manufacturer = "mock-manuf"
|
||||
device.name = "mock-name"
|
||||
super().__init__(device)
|
||||
self._udn = udn
|
||||
self.added_port_mappings = []
|
||||
self.removed_port_mappings = []
|
||||
|
||||
Reference in new issue
Block a user