File tree 2 files changed +6
-10
lines changed
2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -49,3 +49,6 @@ class ProjectMember:
49
49
50
50
sampling_inspection_rate : Optional [int ]
51
51
"""メンバー固有の抜取検査率。0-100のパーセント値で指定する。値が指定された場合、プロジェクトの抜取検査率を指定の値で上書きする。"""
52
+
53
+ sampling_acceptance_rate : Optional [int ]
54
+ """メンバー固有の抜取受入率。"""
Original file line number Diff line number Diff line change @@ -134,13 +134,9 @@ def test_annotation_specs():
134
134
annotation_specs_histories = api .get_annotation_specs_histories (project_id )[0 ]
135
135
assert type (annotation_specs_histories ) == list
136
136
137
- annotation_spec , _ = api .get_annotation_specs (
138
- project_id , query_params = {"history_id" : annotation_specs_histories [0 ]["history_id" ]})
139
- assert type (annotation_spec ) == dict
140
-
141
- old_annotation_specs_url = annotation_specs_histories [0 ]["url" ]
142
- old_annotation_specs = wrapper .get_annotation_specs_from_url (project_id , old_annotation_specs_url )
143
- assert type (old_annotation_specs ) == dict
137
+ old_annotation_spec , _ = api .get_annotation_specs (
138
+ project_id , query_params = {"history_id" : annotation_specs_histories [1 ]["history_id" ]})
139
+ assert type (old_annotation_spec ) == dict
144
140
145
141
146
142
def test_login ():
@@ -360,9 +356,6 @@ def test_task():
360
356
print (f"get_task_histories" )
361
357
assert len (api .get_task_histories (project_id , test_task_id )[0 ]) > 0
362
358
363
- print (f"get_task_validation" )
364
- assert type (api .get_task_validation (project_id , test_task_id )[0 ]) == dict
365
-
366
359
print (f"delete_task" )
367
360
assert type (api .delete_task (project_id , test_task_id )[0 ]) == dict
368
361
You can’t perform that action at this time.
0 commit comments