@@ -48,25 +48,21 @@ def test_from_region_id(self):
48
48
'https://uc.qiniuapi.com'
49
49
],
50
50
ServiceName .UP : [
51
- 'https://up .qiniup.com' ,
52
- 'https://up.qbox.me '
51
+ 'https://upload .qiniup.com' ,
52
+ 'https://up.qiniup.com '
53
53
],
54
54
ServiceName .UP_ACC : [],
55
55
ServiceName .IO : [
56
56
'https://iovip.qiniuio.com' ,
57
- 'https://iovip.qbox.me'
58
57
],
59
58
ServiceName .RS : [
60
59
'https://rs-z0.qiniuapi.com' ,
61
- 'https://rs-z0.qbox.me'
62
60
],
63
61
ServiceName .RSF : [
64
62
'https://rsf-z0.qiniuapi.com' ,
65
- 'https://rsf-z0.qbox.me'
66
63
],
67
64
ServiceName .API : [
68
65
'https://api-z0.qiniuapi.com' ,
69
- 'https://api-z0.qbox.me'
70
66
],
71
67
ServiceName .S3 : [
72
68
'https://s3.z0.qiniucs.com'
@@ -109,25 +105,21 @@ def test_from_region_id_with_custom_options(self):
109
105
preferred_scheme + '://uc.qiniuapi.com'
110
106
],
111
107
ServiceName .UP : [
112
- preferred_scheme + '://up -z1.qiniup.com' ,
113
- preferred_scheme + '://up-z1.qbox.me '
108
+ preferred_scheme + '://upload -z1.qiniup.com' ,
109
+ preferred_scheme + '://up-z1.qiniup.com '
114
110
],
115
111
ServiceName .UP_ACC : [],
116
112
ServiceName .IO : [
117
113
preferred_scheme + '://iovip-z1.qiniuio.com' ,
118
- preferred_scheme + '://iovip-z1.qbox.me'
119
114
],
120
115
ServiceName .RS : [
121
116
preferred_scheme + '://rs-z1.qiniuapi.com' ,
122
- preferred_scheme + '://rs-z1.qbox.me'
123
117
],
124
118
ServiceName .RSF : [
125
119
preferred_scheme + '://rsf-z1.qiniuapi.com' ,
126
- preferred_scheme + '://rsf-z1.qbox.me'
127
120
],
128
121
ServiceName .API : [
129
122
preferred_scheme + '://api-z1.qiniuapi.com' ,
130
- preferred_scheme + '://api-z1.qbox.me'
131
123
],
132
124
ServiceName .S3 : [
133
125
preferred_scheme + '://s3.z1.qiniucs.com'
@@ -156,7 +148,7 @@ def test_clone(self):
156
148
cloned_region .region_id = 'another'
157
149
cloned_region .services [ServiceName .UP ][0 ].host = 'another-uc.qiniuapi.com'
158
150
assert region .region_id == 'z0'
159
- assert region .services [ServiceName .UP ][0 ].get_value () == 'https://up .qiniup.com'
151
+ assert region .services [ServiceName .UP ][0 ].get_value () == 'https://upload .qiniup.com'
160
152
assert cloned_region .services [ServiceName .UP ][0 ].get_value () == 'https://another-uc.qiniuapi.com'
161
153
162
154
def test_merge (self ):
0 commit comments