Skip to content

Commit c3c0480

Browse files
authored
[ENH] Save binary response to example.mle in server tests GEN-11702 (#10)
2 parents 12043f4 + 6da05fc commit c3c0480

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)