From 388908500c690b9e7df2fc010477a31e7a9e5f32 Mon Sep 17 00:00:00 2001 From: moririn2528 Date: Tue, 19 Sep 2023 10:36:50 +0900 Subject: [PATCH] fix test --- python_tests/test_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_tests/test_api.py b/python_tests/test_api.py index 86f897c8..f9c56e4f 100644 --- a/python_tests/test_api.py +++ b/python_tests/test_api.py @@ -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)