mirror of https://github.com/milvus-io/milvus.git
fix bug in test_server
parent
e47f3ec28a
commit
7b0a731e04
|
@ -198,7 +198,7 @@ class TestServer:
|
||||||
|
|
||||||
Parser.parse_proto_TableName = mock.MagicMock(
|
Parser.parse_proto_TableName = mock.MagicMock(
|
||||||
return_value=(OK, table_name))
|
return_value=(OK, table_name))
|
||||||
ServiceHandler._has_table = mock.MagicMock(return_value=True)
|
ServiceHandler._has_table = mock.MagicMock(return_value=(OK, True))
|
||||||
has = self.client.has_table(table_name=table_name)
|
has = self.client.has_table(table_name=table_name)
|
||||||
assert has
|
assert has
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue