milvus/tests/milvus_python_test
del-zhenwu 46f2f20d77
[skip ci] fix compact case bug (#3212)
* [skip ci] use pymilvus-test, remove personal git repo

Signed-off-by: zw <zw@milvus.io>

* [skip ci] add pytest dry-run

Signed-off-by: zw <zw@milvus.io>

* [skip ci] fix compact case bug

Signed-off-by: zw <zw@milvus.io>

* [skip ci] add search case: search with different metric_type

Signed-off-by: zw <zw@milvus.io>

* [skip ci] add search case: search with different metric_type

Signed-off-by: zw <zw@milvus.io>

* fix index.py

Signed-off-by: zw <zw@milvus.io>

* get_stats changed: some cases disabled

Signed-off-by: zw <zw@milvus.io>

* fix case bug

Signed-off-by: zw <zw@milvus.io>

* fix case bug

Signed-off-by: zw <zw@milvus.io>

* set search binary level-2

Signed-off-by: zw <zw@milvus.io>

Co-authored-by: zw <zw@milvus.io>
Co-authored-by: Jin Hai <hai.jin@zilliz.com>
2020-08-11 20:46:34 +08:00
..
2019-10-16 18:40:31 +08:00
2019-10-16 18:40:31 +08:00
2019-10-16 18:40:31 +08:00
2020-01-16 19:59:26 +08:00
2019-10-16 18:40:31 +08:00

Requirements

  • python 3.6.8+
  • pip install -r requirements.txt

How to use this Test Project

pytest . --level=1

or test connect function only

pytest test_connect.py --level=1

collect cases

pytest --day-run -qq

collect cases with docstring

pytest --collect-only -qq

with allure test report

pytest --alluredir=test_out . -q -v
allure serve test_out

Contribution getting started

  • Follow PEP-8 for naming and black for formatting.