Skip to content

Commit

Permalink
Remove vendored copy of starlette test client (#529)
Browse files Browse the repository at this point in the history
* Remove vendored copy, no longer needed.

* Test that multiple chunks come from streaming response.

* Fix misuse of zstandard.
  • Loading branch information
danielballan authored Jul 25, 2023
1 parent cc4c599 commit 1894693
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 811 deletions.
4 changes: 3 additions & 1 deletion tiled/_tests/test_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ def test_streaming_export(client):
client["C"].export(buffer, format="application/json-seq")
# Verify that output is valid newline-delimited JSON.
buffer.seek(0)
for line in buffer.read().decode().splitlines():
lines = buffer.read().decode().splitlines()
assert len(lines) == 100
for line in lines:
json.loads(line)


Expand Down
Loading

0 comments on commit 1894693

Please sign in to comment.