Exemplo n.º 1
0
def test_get_available_prediction_traits():
    result = get_available_prediction_traits()
    assert result is not None
    assert isinstance(result, list)
    assert len(result) > 0
    for element in result:
        assert element is not None
        assert isinstance(element, str)
Exemplo n.º 2
0
def test_string_moral_value():
    mytext = "My cat is loyal only to me."
    for moral_trait in get_available_prediction_traits():
        result = string_moral_value(mytext, moral_trait)
        check_prediction(result)
Exemplo n.º 3
0
def test_get_available_prediction_traits():
    result = get_available_prediction_traits()
    check_trait_list(result)