Update python_tests/artifact/test_backend.py

Co-authored-by: c-bata <c-bata@users.noreply.github.com>
This commit is contained in:
Hiroki Takizawa
2023-11-27 16:29:17 +09:00
committed by GitHub
co-authored by c-bata
parent c89aac71d6
commit e3cad622f7
+2 -1
View File
@@ -125,10 +125,11 @@ class TestProxyStudyArtifact(TestCase):
f.flush()
artifact_id = upload_artifact(self.study, f.name, artifact_store=artifact_store)
app = create_app(self.storage, artifact_store)
status, _, _ = send_request(
status, _, body = send_request(
app,
f"/artifacts/{self.study._study_id}/{artifact_id}",
"GET",
content_type="application/json",
)
self.assertEqual(status, 200)
self.assertEqual(body, b"dummy_content")