modify API

This commit is contained in:
moririn2528 committed 2023-09-01 12:03:45 +09:00
1 parent 7e429266d6
commit b09e223e17
9 files changed
+109 -119

No files matched your search

+3 -2
View File
@@ -138,8 +138,9 @@ class APITestCase(TestCase):
"POST",
body=json.dumps(
{
"candidate_trials": [0, 1, 2],
"preferentials": [[0, 1], [2, 1]],
"mode": "ChooseWorst",
"candidates": [0, 1, 2],
"clicked": 1,
}
),
content_type="application/json",