Skip to content

Commit d7c06e2

Browse files
committed
[test] 微修正
1 parent b4180a8 commit d7c06e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_api.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ def test_get_annotation_specs_histories(self):
104104

105105

106106
class TestInput:
107-
def test_get_input_data_list(self):
108-
assert type(api.get_input_data_list(project_id, {"input_data_name": "foo"})) == dict
107+
def test_wrapper_get_input_data_list(self):
108+
assert type(wrapper.get_all_input_data_list(project_id, {"input_data_name": "foo"})) == list
109109

110110
def test_get_input_data(self):
111111
test_input_data = api.get_input_data(project_id, input_data_id)[0]
@@ -354,7 +354,7 @@ def test_put_task_and_delete_task(self):
354354
assert type(api.delete_task(project_id, test_task_id)[0]) == dict
355355

356356
def test_assign_task(self):
357-
request_body = {"request_type": {"task_ids": [task_id], "user_id": annofab_user_id, "_type": "Selection"}}
357+
request_body = {"request_type": {"phase": "annotation", "_type": "Random"}}
358358
assert type(api.assign_tasks(project_id, request_body=request_body)[0]) == list
359359

360360
def test_operate_task(self):

0 commit comments

Comments
 (0)