mirror of
https://github.com/qdrant/qdrant.git
synced 2026-08-01 23:50:55 -05:00
* wip: re-implement http tests using openapi validation library * collection delete api * payload operations test * payload delete operations test * payload index creation and removing test * uuid operations test * schema consistency test * add tests into pipeline * chmod +x * faster local runs with docker cache * upd instruction
10 lines
310 B
Python
10 lines
310 B
Python
import os
|
|
|
|
import schemathesis
|
|
|
|
ROOT_DIR = os.path.dirname(__file__)
|
|
OPENAPI_FILE = os.environ.get("OPENAPI_FILE", os.path.join(os.path.dirname(ROOT_DIR), '../..', 'openapi-merged.yaml'))
|
|
|
|
SCHEMA = schemathesis.from_file(open(OPENAPI_FILE))
|
|
QDRANT_HOST = os.environ.get("QDRANT_HOST", "http://localhost:6333")
|