Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thiippal committed Oct 11, 2023
1 parent 3998726 commit 8098e8d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/test_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@ def test_project_task_spec(self, test_task):

# Build a task interface similar to the one defined in data/detect_text.yaml
task_spec = toloka.project.task_spec.TaskSpec(
input_spec={'image': toloka.project.UrlSpec(required=True, hidden=False),
'assignment_id': toloka.project.StringSpec(required=False, hidden=False)},
input_spec={'image': toloka.project.UrlSpec(required=True, hidden=False)},
output_spec={'result': toloka.project.BooleanSpec(required=True, hidden=False, allowed_values=None)},
view_spec=toloka.project.TemplateBuilderViewSpec(
settings=None,
Expand All @@ -112,13 +111,13 @@ def test_project_task_spec(self, test_task):
items=[toloka.project.template_builder.ImageViewV1(
url=toloka.project.template_builder.InputData(
path='image', default=None),
full_height=True,
full_height=None,
max_width=None,
min_width=None,
no_border=None,
no_lazy_load=None,
popup=None,
ratio=None,
ratio=[1, 1],
rotatable=True,
scrollable=None,
hint=None,
Expand Down

0 comments on commit 8098e8d

Please sign in to comment.