From a2ed202e10089c90f4b24e928a48cdf5586d754e Mon Sep 17 00:00:00 2001 From: binbin <83755740+binbinlv@users.noreply.github.com> Date: Fri, 8 Oct 2021 15:08:56 +0800 Subject: [PATCH] [skip ci] Add test comments (#9465) Signed-off-by: Binbin Lv --- tests/python_client/testcases/entity/test_insert.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/python_client/testcases/entity/test_insert.py b/tests/python_client/testcases/entity/test_insert.py index 9c3e1d68fb..42ab910656 100644 --- a/tests/python_client/testcases/entity/test_insert.py +++ b/tests/python_client/testcases/entity/test_insert.py @@ -1089,6 +1089,11 @@ class TestInsertInvalid(object): @pytest.mark.tags(CaseLabel.L2) def test_insert_with_invalid_field_value(self, connect, collection, get_field_int_value): + """ + target: test insert with invalid field + method: insert with invalid field value + expected: raise exception + """ field_value = get_field_int_value tmp_entity = ut.update_field_type(copy.deepcopy(default_entity), 'int64', field_value) with pytest.raises(Exception):