mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-09 11:28:14 +08:00
Update python_tests/artifact/test_backend.py
Co-authored-by: c-bata <c-bata@users.noreply.github.com>
This commit is contained in:
co-authored by
c-bata
parent
c89aac71d6
commit
e3cad622f7
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user