def test_translate_to_jadensmith_single_word(prepare): sentence = "bonjour" expected_value = "Bonjour" actual_value = ut.translate_to_jadensmith(sentence) assert expected_value == actual_value
def test_translate_to_jadensmith_sentence(prepare): sentence = "bonjour comment ca Va" expected_value = "Bonjour Comment Ca Va" actual_value = ut.translate_to_jadensmith(sentence) assert expected_value == actual_value
def test_translate_to_jadensmith_raises_value_error(prepare): with pytest.raises(ValueError): ut.translate_to_jadensmith(999)