Archived
test: verify search engine API acceptance
This commit is contained in:
1 parent
56805a97cf
commit
77fa48c7a2
21 files changed
+512
-109
No files matched your search
@@ -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"
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user