mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-01 11:29:48 +08:00
fix conftest
fix conftest
This commit is contained in:
parent
0a172fc8f6
commit
822a9c960b
@ -15,6 +15,7 @@ os.makedirs(dirpath, 0o777)
|
||||
settings.TestingConfig.SQLALCHEMY_DATABASE_URI = 'sqlite:///{}?check_same_thread=False'.format(
|
||||
filepath)
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def app(request):
|
||||
app = create_app(settings.TestingConfig)
|
||||
|
@ -171,7 +171,7 @@ class ServiceHandler(milvus_pb2_grpc.MilvusServiceServicer):
|
||||
logger.info('HasTable {}'.format(_table_name))
|
||||
|
||||
_status, _bool = self._has_table(_table_name,
|
||||
metadata={'resp_class': milvus_pb2.BoolReply})
|
||||
metadata={'resp_class': milvus_pb2.BoolReply})
|
||||
|
||||
return milvus_pb2.BoolReply(status=status_pb2.Status(
|
||||
error_code=_status.code, reason=_status.message),
|
||||
|
Loading…
Reference in New Issue
Block a user