Skip to content

Commit 9cc383b

Browse files
committed
remove a mistake test
1 parent 5b13b35 commit 9cc383b

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

qiniu/test/io_test.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -177,17 +177,6 @@ def test_put_fail_reqid(self):
177177
ret, err = io.put("", key, data, extra)
178178
assert "reqid" in err
179179

180-
def test_put_with_uphost2(self):
181-
conf.UP_HOST = "api.qiniu.com" # mistake up host
182-
localfile = "%s" % __file__
183-
key = "test_up2_%s" % r(9)
184-
185-
extra.check_crc = 1
186-
ret, err = io.put_file(policy.token(), key, localfile, extra)
187-
assert err is None
188-
assert ret['key'] == key
189-
conf.UP_HOST = "up.qiniu.com"
190-
191180

192181
class Test_get_file_crc32(unittest.TestCase):
193182

0 commit comments

Comments
 (0)