test: verify search engine API acceptance

This commit is contained in:
Lucas Winther committed 2026-09-26 14:10:22 +02:00
1 parent 56805a97cf
commit 77fa48c7a2
21 files changed
+512 -109

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ def test_unknown_and_missing_documents(
digest = _document(client, tmp_path)
(tmp_path / "docs" / 'quoted"name.txt').unlink()
response = client.get(f"/documents/{digest}/file")
assert response.status_code == 404
assert response.status_code == 410
assert response.json()["error"]["code"] == "document_missing"