Skip to content

Commit 6da05fc

Browse files
committed
[ENH] Save binary response to example.mle in server tests
1 parent 12043f4 commit 6da05fc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_server/tests_server_I.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ def test_post_example_json(client):
4343

4444
assert len(response.content) == 15326
4545
assert response.status_code == 200
46+
47+
# Save binary into example.mle
48+
with open("example.mle", "wb") as f:
49+
f.write(response.content)
4650

4751

4852
@pytest.mark.skip(reason="Not implemented yet")

0 commit comments

Comments
 (0)