示例#1
0
 def test_unzip_str(self):
     self.assertEqual(htmls.unzipped, unzip_str(htmls.zipped))
示例#2
0
 def test_unzip_str(self):
     self.assertEqual(htmls.unzipped, unzip_str(htmls.zipped))
示例#3
0
 def test_derivative_price_list_url(self):
     resp = derivative_price_list_url('2015','NOV','19NOV2015')
     csv = unzip_str(resp.content)
示例#4
0
 def test_pr_price_list_zipped_url(self):
     resp = pr_price_list_zipped_url('191115')
     csv = unzip_str(resp.content)
示例#5
0
 def test_price_list_url(self):
     date_str = "11-19-2015"
     resp = price_list_url('2015', 'NOV', '19NOV2015')
     csv = unzip_str(resp.content)
     self.assertGreaterEqual(csv.find('SBIN'),0)
示例#6
0
 def test_derivative_price_list_url(self):
     resp = derivative_price_list_url('2019', 'JUL', '19JUL2019')
     csv = unzip_str(resp.content)
示例#7
0
 def test_price_list_url(self):
     resp = price_list_url('2019', 'DEC', '31DEC2019')
     csv = unzip_str(resp.content)
     self.assertGreaterEqual(csv.find('SBIN'), 0)