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