fix function name

This commit is contained in:
Sébastien Thuret 2022-04-04 08:26:58 +02:00
parent 97ff47bc2b
commit 55b05992b5
No known key found for this signature in database
GPG key ID: 230B93BBA62CB043

View file

@ -1,7 +1,7 @@
import json import json
def test_api_detect_language(client): def test_api_translate(client):
response = client.post("/translate", data={ response = client.post("/translate", data={
"q": "Hello", "q": "Hello",
"source": "en", "source": "en",