app->libretranslate; mv tests/ inside libretranslate/

This commit is contained in:
reynoldsnlp 2022-12-29 16:44:53 -07:00
parent 40a1141eac
commit a23a9fbd75
47 changed files with 24 additions and 25 deletions

View file

@ -0,0 +1,10 @@
def test_api_get_spec(client):
response = client.get("/spec")
assert response.status_code == 200
def test_api_get_spec_must_fail_bad_request_type(client):
response = client.post("/spec")
assert response.status_code == 405