未验证 提交 fc961658 编写于 作者: D del-zhenwu 提交者: GitHub

Update case (#2113)

Signed-off-by: Nzw <zw@zilliz.com>
上级 35f74c41
...@@ -74,8 +74,8 @@ class TestCreateBase: ...@@ -74,8 +74,8 @@ class TestCreateBase:
expected: status ok expected: status ok
''' '''
tag_name = None tag_name = None
status = connect.create_partition(collection, tag_name) with pytest.raises(Exception) as e:
assert not status.OK() status = connect.create_partition(collection, tag_name)
def test_create_different_partition_tags(self, connect, collection): def test_create_different_partition_tags(self, connect, collection):
''' '''
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册