def test_validate_failure():
    keyboard_message = KeyboardMessage(tracking_data=SAMPLE_TRACKING_DATA)

    assert not keyboard_message.validate()
def test_validate_success():
    keyboard_message = KeyboardMessage(tracking_data=SAMPLE_TRACKING_DATA,
                                       keyboard=SAMPLE_KEYBOARD)

    assert keyboard_message.validate()