def mock_service(hass, domain, service):
    calls = []

    hass.services.register(
        domain, service, lambda call: calls.append(call))

    return calls
Verify that every point in the pointcloud is associated with a label.
dataset/ETHPy150Open home-assistant/home-assistant/tests/common.py/mock_service--crossover with--dataset/ETHPy150Open menpo/menpo/menpo/landmark/base.py/LandmarkGroup._verify_all_labels_masked