Skip to content

Commit 9e06f66

Browse files
authored
Merge pull request #666 from superannotateai/fix_test
fix class unit tests
2 parents 0c29c15 + d5b7503 commit 9e06f66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/test_classes_serialization.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def test_empty_multiselect_excluded(self):
4343
"type": 1,
4444
"name": "asd",
4545
"color": "#0000FF",
46-
"attribute_groups": [{"name": "sad"}],
46+
"attribute_groups": [{"name": "sad", "isRequired": False}],
4747
} == serializer_data
4848

4949
def test_empty_multiselect_bool_serializer(self):
@@ -59,7 +59,7 @@ def test_empty_multiselect_bool_serializer(self):
5959
"type": 1,
6060
"name": "asd",
6161
"color": "#0000FF",
62-
"attribute_groups": [{"name": "sad"}],
62+
"attribute_groups": [{"name": "sad", "isRequired": False}],
6363
} == serializer_data
6464

6565
def test_group_type_wrong_arg(self):

0 commit comments

Comments
 (0)