Example #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')
Example #2
0
 def test_dividends(self):
     from pyEX.refdata import dividends
     dividends()
Example #3
0
 def test_dividends2(self):
     from pyEX import dividends
     dividends(C)