Archived
fix: make indexing review paths replay-safe
This commit is contained in:
1 parent
77fa48c7a2
commit
653c32db43
24 files changed
+759
-86
No files matched your search
@@ -34,6 +34,8 @@ def test_text_and_byte_range(authenticated: tuple[TestClient, str], tmp_path: Pa
|
||||
assert client.get(
|
||||
f"/documents/{digest}/file", headers={"Range": "bytes=99-100"}
|
||||
).status_code == 416
|
||||
suffix = client.get(f"/documents/{digest}/file", headers={"Range": "bytes=-2"})
|
||||
assert suffix.status_code == 206 and suffix.content == b"ef"
|
||||
|
||||
|
||||
def test_unknown_and_missing_documents(
|
||||
|
||||
Reference in new issue
Block a user