milvus/tests/milvus_python_test
BossZou 6862db78d4
Add crud APIs and segments APIs into http server (#1462)
* add new http api

Signed-off-by: Yhz <yinghao.zou@zilliz.com>

* [DOC] modify comments

Signed-off-by: Yhz <yinghao.zou@zilliz.com>

* allow get whole tables & partitions

Signed-off-by: Yhz <yinghao.zou@zilliz.com>

* add test case

Signed-off-by: Yhz <yinghao.zou@zilliz.com>

* update changlog (fix #1461)

Signed-off-by: Yhz <yinghao.zou@zilliz.com>

* format

Signed-off-by: Yhz <yinghao.zou@zilliz.com>

* fix cpu build issue

Signed-off-by: Yhz <yinghao.zou@zilliz.com>

* fix unittest fail on cpu version

Signed-off-by: Yhz <yinghao.zou@zilliz.com>

* fix get system config bug

Signed-off-by: Yhz <yinghao.zou@zilliz.com>

* fix crash when show tables

Signed-off-by: Yhz <yinghao.zou@zilliz.com>

* fix check server restart fail

Signed-off-by: Yhz <yinghao.zou@zilliz.com>

* remove some comments

Signed-off-by: Yhz <yinghao.zou@zilliz.com>

* add count field into segment ids

Signed-off-by: Yhz <yinghao.zou@zilliz.com>

* optimize code fixing codegacy

Signed-off-by: Yhz <yinghao.zou@zilliz.com>

* add default response string value

Signed-off-by: Yhz <yinghao.zou@zilliz.com>
2020-03-02 14:48:42 +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-17 16:55:46 +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

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.