Rename old pymilvus utils to util_pymilvus (#13957)

Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
This commit is contained in:
ThreadDao 2021-12-22 17:07:48 +08:00 committed by GitHub
parent ac8ae914b4
commit f7787d9f57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 12 additions and 12 deletions

View File

@ -1,6 +1,6 @@
# constants for old pymilvus API test
import utils.utils as utils
import utils.util_pymilvus as utils
default_fields = utils.gen_default_fields()
default_binary_fields = utils.gen_binary_default_fields()

View File

@ -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_pymilvus import get_milvus, gen_unique_str, gen_default_fields, gen_binary_default_fields
timeout = 60
dimension = 128

View File

@ -3,7 +3,7 @@ import threading
import pytest
from pymilvus import DataType, ParamError, BaseException
from utils import utils as ut
from utils import util_pymilvus as ut
from common.constants import default_entity, default_entities, default_binary_entity, default_binary_entities, \
default_fields
from common.common_type import CaseLabel

View File

@ -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_pymilvus import get_milvus, gen_vectors, default_dim
from common.common_type import CaseLabel

View File

@ -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_pymilvus 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

View File

@ -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_pymilvus import *
from common import constants as cons
prefix = "collection"

View File

@ -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_pymilvus 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

View File

@ -1,5 +1,5 @@
import pytest
from utils.utils import *
from utils.util_pymilvus import *
from common.constants import default_entities
from common.common_type import CaseLabel
from utils.util_log import test_log as log

View File

@ -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_pymilvus import *
from common.constants import *
prefix = "index"

View File

@ -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_pymilvus 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

View File

@ -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_pymilvus as ut
prefix = "query"
exp_res = "exp_res"

View File

@ -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_pymilvus import *
from common.constants import *
prefix = "search_collection"