def METHOD_NAME():
    # Tests a case in which a child node adds another light.
    lattr1 = core.LightAttrib.make()
    lattr1 = lattr1.add_on_light(spot)
    lattr2 = core.LightAttrib.make()
    lattr2 = lattr2.add_on_light(point)
    lattr3 = lattr1.compose(lattr2)
    assert lattr3.get_num_on_lights() == 2
    assert spot in lattr3.on_lights
    assert point in lattr3.on_lights