def test_avahi_add_service(avahi_fxt): mdns.add_service("host") assert mdns.group.AddService.called
def test_avahi_add_service(avahi_fxt): mdns.add_service('host', '1', '1.2.3.4') assert mdns.group.AddService.called
def test_avahi_add_service(avahi_fxt): mdns.add_service("host", "1", "1.2.3.4", "::1") assert mdns.group.AddService.called