示例#1
0
 def test_download_largefile_e(self):
   testurl = 'https://s3-ap-northeast-1.amazonaws.com/kaden-test/test1.txt.gz'
   testfilename = 'testfile'
   util.download_largefile(testurl,testfilename)
示例#2
0
 def test_download_largefile(self):
   testurl = 'https://s3-ap-northeast-1.amazonaws.com/kaden-test/dl_testfile'
   testfilename = 'dl_testfile'
   actual = util.download_largefile(testurl,testfilename)
   assert actual == testfilename