Function
discovery
(capture=None, unicast_num=UNICAST_UDP_REPEAT,
multicast_num=MULTICAST_UDP_REPEAT, relates_to=False)
Source from the content-addressed store, hash-verified
| 18 | |
| 19 | @contextmanager |
| 20 | def discovery(capture=None, unicast_num=UNICAST_UDP_REPEAT, |
| 21 | multicast_num=MULTICAST_UDP_REPEAT, relates_to=False): |
| 22 | wsd = WSDiscovery(capture=capture, unicast_num=unicast_num, |
| 23 | multicast_num=multicast_num, relates_to=relates_to) |
| 24 | wsd.start() |
| 25 | yield wsd |
| 26 | wsd.stop() |
| 27 | |
| 28 | @contextmanager |
| 29 | def publishing(capture=None): |
Tested by
no test coverage detected