Add check for invalid binary vector in python sdk

Signed-off-by: ophunter233 <chengming.li@zilliz.com>
pull/4973/head^2
ophunter233 2021-03-17 09:37:21 +08:00 committed by yefu.chen
parent 207f6ae773
commit 6cef504c5d
1 changed files with 2 additions and 2 deletions

View File

@ -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"]