From e3cad622f7dc7a96dc983cfef6f03b480a999e41 Mon Sep 17 00:00:00 2001 From: Hiroki Takizawa Date: Mon, 27 Nov 2023 16:29:17 +0900 Subject: [PATCH] Update python_tests/artifact/test_backend.py Co-authored-by: c-bata --- python_tests/artifact/test_backend.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python_tests/artifact/test_backend.py b/python_tests/artifact/test_backend.py index 07ea34d7..143e86b4 100644 --- a/python_tests/artifact/test_backend.py +++ b/python_tests/artifact/test_backend.py @@ -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")