def test_led2():
    """Tests green LED2"""
    reset_peripherals()

    turn_on_led('A', 8)
    error = None
    if not ask_YN('Is LED2 green?'):
        error = 'Green LED2 problem'
    reset_peripherals()
    return error
def test_led1():
    """Tests green LED1"""
    reset_peripherals()

    turn_on_led('B', 1)
    error = None
    if not ask_YN('Is LED1 green?'):
        error = 'Green LED1 problem'
    reset_peripherals()
    return error