mirror of https://github.com/milvus-io/milvus.git
Add check for invalid binary vector in python sdk
Signed-off-by: ophunter233 <chengming.li@zilliz.com>pull/4973/head^2
parent
207f6ae773
commit
6cef504c5d
|
@ -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"]
|
||||
|
|
Loading…
Reference in New Issue