From ca318fd459bd724465a92c15708b452e2aa3e5de Mon Sep 17 00:00:00 2001 From: binbin <83755740+binbinlv@users.noreply.github.com> Date: Mon, 4 Oct 2021 13:30:07 +0800 Subject: [PATCH] [skip ci] Add test comments (#9197) 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 5fc906a1f9..5366820ea0 100644 --- a/tests/python_client/testcases/entity/test_insert.py +++ b/tests/python_client/testcases/entity/test_insert.py @@ -1141,6 +1141,11 @@ class TestInsertInvalidBinary(object): @pytest.mark.tags(CaseLabel.L2) def test_insert_with_invalid_field_name(self, connect, binary_collection, get_field_name): + """ + target: test insert with invalid field name + method: insert with invalid field name + expected: raise exception + """ tmp_entity = update_field_name(copy.deepcopy(default_binary_entity), "int64", get_field_name) with pytest.raises(Exception): connect.insert(binary_collection, tmp_entity)