File tree 1 file changed +1
-5
lines changed
1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -98,10 +98,6 @@ def test_token_of_request(self):
98
98
token = dummy_auth .token_of_request ('http://www.qiniu.com?go=1' , 'test' , 'application/x-www-form-urlencoded' )
99
99
assert token == 'abcdefghklmnopq:svWRNcacOE-YMsc70nuIYdaa1e4='
100
100
101
- def test_deprecatedPolicy (self ):
102
- with pytest .raises (ValueError ):
103
- dummy_auth .upload_token ('1' , None , policy = {'asyncOps' : 1 })
104
-
105
101
def test_verify_callback (self ):
106
102
body = 'name=sunflower.jpg&hash=Fn6qeQi4VDLQ347NiRm-RlQx_4O2&location=Shanghai&price=1500.00&uid=123'
107
103
url = 'test.qiniu.com/callback'
@@ -118,7 +114,7 @@ def test_list(self):
118
114
print (info )
119
115
assert eof is False
120
116
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 )
122
118
print (info )
123
119
assert eof is True
124
120
You can’t perform that action at this time.
0 commit comments