mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-10-28 13:11:26 +08:00
fix test
This commit is contained in:
1 parent
9a4f91ce07
commit
388908500c
1 file changed
+1
-1
@@ -197,7 +197,7 @@ class APITestCase(TestCase):
|
||||
app,
|
||||
f"/api/studies/{study_id}/preference_feedback_component",
|
||||
"PUT",
|
||||
body=json.dumps({"type": "artifact", "artifact_key": "image"}),
|
||||
body=json.dumps({"output_type": "artifact", "artifact_key": "image"}),
|
||||
content_type="application/json",
|
||||
)
|
||||
self.assertEqual(status, 204)
|
||||
|
||||
Reference in new issue
Block a user