ToxiCheck / tests /test_handler.py
Tbruand
chore(): nitial commit - project structure
3ece550
raw
history blame
148 Bytes
from app.handler import predict
def test_prediction_output():
result = predict("Tu es stupide")
assert result in ["toxique", "non-toxique"]