mirror of
https://github.com/logos-storage/bittorrent-benchmarks.git
synced 2026-01-03 21:43:09 +00:00
fix: Use startswith for Content-Type header assertion
Signed-off-by: Chrysostomos Nanakos <chris@include.gr>
This commit is contained in:
parent
b1e4bda940
commit
162a8f4a54
@ -25,7 +25,7 @@ async def test_should_create_file():
|
||||
)
|
||||
|
||||
assert response.status_code == 200
|
||||
assert response.headers["content-type"] == "text/plain"
|
||||
assert response.headers["content-type"].startswith("text/plain")
|
||||
assert response.charset_encoding == "utf-8"
|
||||
|
||||
manifest = await codex_client.manifest(response.text)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user