milvus/tests/milvus_python_test
2019-12-02 15:30:31 +08:00
..
.dockerignore #18 Add all test cases 2019-10-16 18:40:31 +08:00
.gitignore #18 Add all test cases 2019-10-16 18:40:31 +08:00
conftest.py Update case 2019-11-16 18:13:31 +08:00
docker-entrypoint.sh #18 Add all test cases 2019-10-16 18:40:31 +08:00
Dockerfile #18 Add all test cases 2019-10-16 18:40:31 +08:00
MilvusCases.md #18 Add all test cases 2019-10-16 18:40:31 +08:00
pytest.ini Add partition case 2019-11-21 17:23:06 +08:00
README.md Update README.md #27 2019-10-17 16:55:46 +08:00
requirements_cluster.txt #18 Add all test cases 2019-10-16 18:40:31 +08:00
requirements_no_pymilvus.txt Add partition case 2019-11-21 17:23:06 +08:00
requirements.txt Add partition case 2019-11-21 17:23:06 +08:00
run.sh #18 Add all test cases 2019-10-16 18:40:31 +08:00
test_add_vectors.py Remove some pq cases 2019-12-01 10:50:01 +08:00
test_connect.py Disable multiprocess cases 2019-11-22 14:12:57 +08:00
test_delete_vectors.py remove delete vectors cases #55 2019-10-21 11:48:49 +08:00
test_index.py assert failed if create index with pq on ip_table on gpu, assert pass on cpu 2019-12-02 15:30:31 +08:00
test_mix.py Disable multiprocess cases 2019-11-22 14:12:57 +08:00
test_partition.py Add partition case 2019-11-21 17:23:06 +08:00
test_ping.py Update server_version 2019-11-15 09:47:22 +08:00
test_search_vectors.py Remove some pq cases 2019-12-01 10:50:01 +08:00
test_table_count.py Remove some pq cases 2019-12-01 10:50:01 +08:00
test_table.py Remove some pq cases 2019-12-01 10:50:01 +08:00
test.template #18 Add all test cases 2019-10-16 18:40:31 +08:00
utils.py add pq cases 2019-11-29 17:32:08 +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.