From 6cef504c5d7d400d97ad5658de3a74eb89773baf Mon Sep 17 00:00:00 2001 From: ophunter233 Date: Wed, 17 Mar 2021 09:37:21 +0800 Subject: [PATCH] Add check for invalid binary vector in python sdk Signed-off-by: ophunter233 --- tests/python_test/entity/test_insert.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/python_test/entity/test_insert.py b/tests/python_test/entity/test_insert.py index 5c8e790722..0eca0581e7 100644 --- a/tests/python_test/entity/test_insert.py +++ b/tests/python_test/entity/test_insert.py @@ -1159,8 +1159,8 @@ class TestInsertInvalidBinary(object): connect.insert(binary_collection, tmp_entity) @pytest.mark.level(2) - # #1352 - @pytest.mark.tags("fail") + @pytest.mark.tags("0331") + # TODO 'bytes' object does not support item assignment def test_insert_with_invalid_field_entities_value(self, connect, binary_collection, get_field_vectors_value): tmp_entities = copy.deepcopy(default_binary_entities) src_vector = tmp_entities[-1]["values"]