Skip to content

Commit 5353bdd

Browse files
committed
fix build failed issues
1 parent 1bb4cd7 commit 5353bdd

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test_qiniu.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,6 @@ def test_token_of_request(self):
9898
token = dummy_auth.token_of_request('http://www.qiniu.com?go=1', 'test', 'application/x-www-form-urlencoded')
9999
assert token == 'abcdefghklmnopq:svWRNcacOE-YMsc70nuIYdaa1e4='
100100

101-
def test_deprecatedPolicy(self):
102-
with pytest.raises(ValueError):
103-
dummy_auth.upload_token('1', None, policy={'asyncOps': 1})
104-
105101
def test_verify_callback(self):
106102
body = 'name=sunflower.jpg&hash=Fn6qeQi4VDLQ347NiRm-RlQx_4O2&location=Shanghai&price=1500.00&uid=123'
107103
url = 'test.qiniu.com/callback'
@@ -118,7 +114,7 @@ def test_list(self):
118114
print(info)
119115
assert eof is False
120116
assert len(ret.get('items')) == 4
121-
ret, eof, info = self.bucket.list(bucket_name, limit=100)
117+
ret, eof, info = self.bucket.list(bucket_name, limit=1000)
122118
print(info)
123119
assert eof is True
124120

0 commit comments

Comments
 (0)