mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-09 11:28:14 +08:00
fix test
This commit is contained in:
@@ -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