We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a9b644 commit b42ada9Copy full SHA for b42ada9
1 file changed
tests/test_init.py
@@ -97,7 +97,7 @@ def send(out, addr=const._MDNS_ADDR, port=const._MDNS_PORT):
97
old_send(out, addr=addr, port=port)
98
99
# patch the zeroconf send
100
- with unittest.mock.patch.object(zc, "send", send):
+ with unittest.mock.patch.object(zc, "async_send", send):
101
102
# dummy service callback
103
def on_service_state_change(zeroconf, service_type, state_change, name):
0 commit comments