From fe2b3cafba0ac0bc05d2217e751604e9b3dded1b Mon Sep 17 00:00:00 2001 From: binbin <83755740+binbinlv@users.noreply.github.com> Date: Sat, 9 Oct 2021 18:38:05 +0800 Subject: [PATCH] [skip ci] Add comments for insert test cases (#9582) 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 42ab910656..a10e6bd7fd 100644 --- a/tests/python_client/testcases/entity/test_insert.py +++ b/tests/python_client/testcases/entity/test_insert.py @@ -1082,6 +1082,11 @@ class TestInsertInvalid(object): @pytest.mark.tags(CaseLabel.L2) def test_insert_with_invalid_field_type(self, connect, collection, get_field_type): + """ + target: test insert with invalid field + method: insert with invalid field type + expected: raise exception + """ field_type = get_field_type tmp_entity = ut.update_field_type(copy.deepcopy(default_entity), 'float', field_type) with pytest.raises(Exception):