Пример #1
0
 def test_dividends(self):
     from pyEX.refdata import dividends
     with patch('requests.get') as mock:
         mock.return_value = MagicMock()
         mock.return_value.status_code = 200
         dividends()
         dividends('20170202')
Пример #2
0
 def test_dividends(self):
     from pyEX.refdata import dividends
     dividends()
Пример #3
0
 def test_dividends2(self):
     from pyEX import dividends
     dividends(C)