Skip to content

Commit 0087ee0

Browse files
zhuxiaolong37huiguangjun
authored andcommitted
Update import path syntax in vectors test cases.
1 parent c604ce5 commit 0087ee0

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

tests/integration/vector/test_paginator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# pylint: skip-file
22

33
import alibabacloud_oss_v2.vectors as oss_vectors
4-
from tests.integration import TestIntegrationVectors, random_bucket_name, random_short_bucket_name
4+
from .. import TestIntegrationVectors, random_short_bucket_name
55

66
class TestPaginatorBasic(TestIntegrationVectors):
77
def test_list_vector_buckets_paginator(self):

tests/integration/vector/test_vector_basic_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from ast import literal_eval
44
import alibabacloud_oss_v2.vectors as oss_vectors
5-
from tests.integration import TestIntegrationVectors, random_short_bucket_name
5+
from .. import TestIntegrationVectors, random_short_bucket_name
66

77

88
class TestVectorBasic(TestIntegrationVectors):

tests/integration/vector/test_vector_bucket_basic_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# pylint: skip-file
22

33
import alibabacloud_oss_v2.vectors as oss_vectors
4-
from tests.integration import TestIntegrationVectors, random_short_bucket_name, REGION, USER_ID
4+
from .. import TestIntegrationVectors, random_short_bucket_name, REGION, USER_ID
55

66

77
class TestVectorBucketBasic(TestIntegrationVectors):

tests/integration/vector/test_vector_bucket_logging_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import alibabacloud_oss_v2 as oss
44
import alibabacloud_oss_v2.vectors as oss_vectors
5-
from tests.integration import TestIntegrationVectors, random_short_bucket_name, random_bucket_name
5+
from .. import TestIntegrationVectors, random_short_bucket_name, random_bucket_name
66

77

88
class TestVectorBucketLogging(TestIntegrationVectors):

tests/integration/vector/test_vector_bucket_policy_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# pylint: skip-file
22
import time
33
import alibabacloud_oss_v2.vectors as oss_vectors
4-
from tests.integration import TestIntegrationVectors, random_short_bucket_name
4+
from .. import TestIntegrationVectors, random_short_bucket_name
55

66

77
class TestVectorBucketBasic(TestIntegrationVectors):

tests/integration/vector/test_vector_index_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# pylint: skip-file
22
import alibabacloud_oss_v2.vectors as oss_vectors
3-
from tests.integration import TestIntegrationVectors, random_short_bucket_name
3+
from .. import TestIntegrationVectors, random_short_bucket_name
44

55

66
class TestVectorIndex(TestIntegrationVectors):

tests/unit/vectors/models/test_index_basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from alibabacloud_oss_v2.vectors.operations import _serde
66
from alibabacloud_oss_v2.vectors.models import index_basic as model
77
from alibabacloud_oss_v2.types import OperationInput, OperationOutput, CaseInsensitiveDict
8-
from tests.unit import MockHttpResponse
8+
from ... import MockHttpResponse
99

1010

1111
class TestPutVectorIndex(unittest.TestCase):

tests/unit/vectors/models/test_vector_basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from alibabacloud_oss_v2.vectors.operations import _serde
66
from alibabacloud_oss_v2.vectors.models import vector_basic as model
77
from alibabacloud_oss_v2.types import OperationInput, OperationOutput, CaseInsensitiveDict
8-
from tests.unit import MockHttpResponse
8+
from ... import MockHttpResponse
99

1010

1111
class TestPutVectors(unittest.TestCase):

0 commit comments

Comments
 (0)