modify API

This commit is contained in:
moririn2528
2023-09-01 12:03:45 +09:00
parent 7e429266d6
commit b09e223e17
9 changed files with 109 additions and 119 deletions
+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",