Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
milvus
milvus
提交
f7787d9f
M
milvus
项目概览
milvus
/
milvus
10 个月 前同步成功
通知
260
Star
22476
Fork
2472
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
milvus
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
f7787d9f
编写于
12月 22, 2021
作者:
T
ThreadDao
提交者:
GitHub
12月 22, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Rename old pymilvus utils to util_pymilvus (#13957)
Signed-off-by:
N
ThreadDao
<
yufen.zong@zilliz.com
>
上级
ac8ae914
变更
13
隐藏空白更改
内联
并排
Showing
13 changed file
with
12 addition
and
12 deletion
+12
-12
tests/python_client/common/constants.py
tests/python_client/common/constants.py
+1
-1
tests/python_client/conftest.py
tests/python_client/conftest.py
+1
-1
tests/python_client/testcases/entity/test_insert.py
tests/python_client/testcases/entity/test_insert.py
+1
-1
tests/python_client/testcases/stability/test_mysql.py
tests/python_client/testcases/stability/test_mysql.py
+1
-1
tests/python_client/testcases/stability/test_restart.py
tests/python_client/testcases/stability/test_restart.py
+1
-1
tests/python_client/testcases/test_collection.py
tests/python_client/testcases/test_collection.py
+1
-1
tests/python_client/testcases/test_connection.py
tests/python_client/testcases/test_connection.py
+1
-1
tests/python_client/testcases/test_flush.py
tests/python_client/testcases/test_flush.py
+1
-1
tests/python_client/testcases/test_index.py
tests/python_client/testcases/test_index.py
+1
-1
tests/python_client/testcases/test_partition.py
tests/python_client/testcases/test_partition.py
+1
-1
tests/python_client/testcases/test_query.py
tests/python_client/testcases/test_query.py
+1
-1
tests/python_client/testcases/test_search_20.py
tests/python_client/testcases/test_search_20.py
+1
-1
tests/python_client/utils/util_pymilvus.py
tests/python_client/utils/util_pymilvus.py
+0
-0
未找到文件。
tests/python_client/common/constants.py
浏览文件 @
f7787d9f
# constants for old pymilvus API test
import
utils.utils
as
utils
import
utils.util
_pymilvu
s
as
utils
default_fields
=
utils
.
gen_default_fields
()
default_binary_fields
=
utils
.
gen_binary_default_fields
()
...
...
tests/python_client/conftest.py
浏览文件 @
f7787d9f
...
...
@@ -10,7 +10,7 @@ from utils.util_log import test_log as log
from
base.client_base
import
param_info
from
check.param_check
import
ip_check
,
number_check
from
config.log_config
import
log_config
from
utils.utils
import
get_milvus
,
gen_unique_str
,
gen_default_fields
,
gen_binary_default_fields
from
utils.util
_pymilvu
s
import
get_milvus
,
gen_unique_str
,
gen_default_fields
,
gen_binary_default_fields
timeout
=
60
dimension
=
128
...
...
tests/python_client/testcases/entity/test_insert.py
浏览文件 @
f7787d9f
...
...
@@ -3,7 +3,7 @@ import threading
import
pytest
from
pymilvus
import
DataType
,
ParamError
,
BaseException
from
utils
import
utils
as
ut
from
utils
import
util
_pymilvu
s
as
ut
from
common.constants
import
default_entity
,
default_entities
,
default_binary_entity
,
default_binary_entities
,
\
default_fields
from
common.common_type
import
CaseLabel
...
...
tests/python_client/testcases/stability/test_mysql.py
浏览文件 @
f7787d9f
...
...
@@ -3,7 +3,7 @@ import logging
import
pytest
from
pymilvus
import
IndexType
from
utils.utils
import
get_milvus
,
gen_vectors
,
default_dim
from
utils.util
_pymilvu
s
import
get_milvus
,
gen_vectors
,
default_dim
from
common.common_type
import
CaseLabel
...
...
tests/python_client/testcases/stability/test_restart.py
浏览文件 @
f7787d9f
...
...
@@ -6,7 +6,7 @@ import logging
import
json
from
multiprocessing
import
Pool
,
Process
import
pytest
from
utils.utils
import
get_milvus
,
restart_server
,
gen_entities
,
gen_unique_str
,
default_nb
from
utils.util
_pymilvu
s
import
get_milvus
,
restart_server
,
gen_entities
,
gen_unique_str
,
default_nb
from
common.constants
import
default_fields
,
default_entities
from
common.common_type
import
CaseLabel
...
...
tests/python_client/testcases/test_collection.py
浏览文件 @
f7787d9f
...
...
@@ -8,7 +8,7 @@ from utils.util_log import test_log as log
from
common
import
common_func
as
cf
from
common
import
common_type
as
ct
from
common.common_type
import
CaseLabel
,
CheckTasks
from
utils.utils
import
*
from
utils.util
_pymilvu
s
import
*
from
common
import
constants
as
cons
prefix
=
"collection"
...
...
tests/python_client/testcases/test_connection.py
浏览文件 @
f7787d9f
...
...
@@ -3,7 +3,7 @@ import concurrent.futures
from
pymilvus
import
DefaultConfig
,
Milvus
from
base.client_base
import
TestcaseBase
from
utils.utils
import
get_milvus
,
gen_invalid_ips
,
gen_invalid_ints
,
gen_invalid_uris
from
utils.util
_pymilvu
s
import
get_milvus
,
gen_invalid_ips
,
gen_invalid_ints
,
gen_invalid_uris
import
common.common_type
as
ct
import
common.common_func
as
cf
from
common.code_mapping
import
ConnectionErrorMessage
as
cem
...
...
tests/python_client/testcases/test_flush.py
浏览文件 @
f7787d9f
import
pytest
from
utils.utils
import
*
from
utils.util
_pymilvu
s
import
*
from
common.constants
import
default_entities
from
common.common_type
import
CaseLabel
from
utils.util_log
import
test_log
as
log
...
...
tests/python_client/testcases/test_index.py
浏览文件 @
f7787d9f
...
...
@@ -9,7 +9,7 @@ from common.common_type import CaseLabel, CheckTasks
from
common.code_mapping
import
CollectionErrorMessage
as
clem
from
common.code_mapping
import
IndexErrorMessage
as
iem
from
utils.utils
import
*
from
utils.util
_pymilvu
s
import
*
from
common.constants
import
*
prefix
=
"index"
...
...
tests/python_client/testcases/test_partition.py
浏览文件 @
f7787d9f
...
...
@@ -2,7 +2,7 @@ import threading
import
time
from
multiprocessing
import
Pool
,
Process
import
pytest
from
utils
import
utils
as
ut
from
utils
import
util
_pymilvu
s
as
ut
from
common.constants
import
default_entities
,
default_fields
from
common.common_type
import
CaseLabel
from
utils.util_log
import
test_log
as
log
...
...
tests/python_client/testcases/test_query.py
浏览文件 @
f7787d9f
...
...
@@ -11,7 +11,7 @@ from common import common_func as cf
from
common
import
common_type
as
ct
from
common.common_type
import
CaseLabel
,
CheckTasks
from
utils.util_log
import
test_log
as
log
import
utils.utils
as
ut
import
utils.util
_pymilvu
s
as
ut
prefix
=
"query"
exp_res
=
"exp_res"
...
...
tests/python_client/testcases/test_search_20.py
浏览文件 @
f7787d9f
...
...
@@ -6,7 +6,7 @@ from utils.util_log import test_log as log
from
common
import
common_func
as
cf
from
common
import
common_type
as
ct
from
common.common_type
import
CaseLabel
,
CheckTasks
from
utils.utils
import
*
from
utils.util
_pymilvu
s
import
*
from
common.constants
import
*
prefix
=
"search_collection"
...
...
tests/python_client/utils/utils.py
→
tests/python_client/utils/util
_pymilvu
s.py
浏览文件 @
f7787d9f
文件已移动
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录