Skip to content

Commit f7cc25c

Browse files
committed
change mime test
1 parent 06d2909 commit f7cc25c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test_qiniu.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,11 @@ def test_copy(self):
160160
print(info)
161161
assert ret == {}
162162

163+
def test_change_mime(self):
164+
ret, info = self.bucket.change_mime(bucket_name, 'python-sdk.html', 'text/html')
165+
print(info)
166+
assert ret == {}
167+
163168
def test_batch_copy(self):
164169
key = 'copyto'+rand_string(8)
165170
ops = build_batch_copy(bucket_name, {'copyfrom': key}, bucket_name)

0 commit comments

Comments
 (0)