milvus/tests/milvus_python_test
Xiaohai Xu b437639b7a
#3309 Error should be raised if search binary collection with metric_type: L2 (#3349)
* add check

Signed-off-by: sahuang <xiaohai.xu@zilliz.com>
2020-08-20 18:22:09 +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
2020-08-18 16:50:51 +08:00
2020-08-19 15:30:50 +08:00
2020-08-19 15:30:50 +08:00
2020-08-19 15:30:50 +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.