Skip to content

Commit b42ada9

Browse files
committed
fix patch target
1 parent 3a9b644 commit b42ada9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def send(out, addr=const._MDNS_ADDR, port=const._MDNS_PORT):
9797
old_send(out, addr=addr, port=port)
9898

9999
# patch the zeroconf send
100-
with unittest.mock.patch.object(zc, "send", send):
100+
with unittest.mock.patch.object(zc, "async_send", send):
101101

102102
# dummy service callback
103103
def on_service_state_change(zeroconf, service_type, state_change, name):

0 commit comments

Comments
 (0)