Files
qdrant-client/tests/congruence_tests/test_info.py
George 59a1569438 new: add info endpoint (#678)
* new: add info endpoint

* fix: fix async generator

* fix: remove crutch, update openapi

* fix: regen async

* fix: regen client with recommend strategy fix
2024-08-08 16:56:21 +02:00

17 lines
502 B
Python

from tests.congruence_tests.test_common import init_local, init_remote
def test_info():
local_client = init_local()
remote_client = init_remote()
remote_grpc_client = init_remote(prefer_grpc=True)
local_info = local_client.info()
rest_info = remote_client.info()
grpc_info = remote_grpc_client.info()
assert local_info.title == rest_info.title
assert local_info.version is not None
assert rest_info.version == grpc_info.version
assert rest_info == grpc_info