def test_upcomingEventsDF(self): from pyEX import upcomingEventsDF, upcomingEarningsDF, upcomingDividendsDF, upcomingSplitsDF, upcomingIPOsDF with patch('requests.get') as mock, \ patch('pickle.dump'): mock.return_value = MagicMock() mock.return_value.status_code = 200 upcomingEventsDF() upcomingEarningsDF() upcomingDividendsDF() upcomingSplitsDF() upcomingIPOsDF() upcomingEventsDF(SYMBOL) upcomingEarningsDF(SYMBOL) upcomingDividendsDF(SYMBOL) upcomingSplitsDF(SYMBOL) upcomingIPOsDF(SYMBOL)
def test_upcomingEventsDF(self): from pyEX import ( upcomingDividendsDF, upcomingEarningsDF, upcomingEventsDF, upcomingIPOsDF, upcomingSplitsDF, ) with patch("requests.get") as mock: mock.return_value = MagicMock() mock.return_value.status_code = 200 upcomingEventsDF() upcomingEarningsDF() upcomingDividendsDF() upcomingSplitsDF() upcomingIPOsDF() upcomingEventsDF(SYMBOL) upcomingEarningsDF(SYMBOL) upcomingDividendsDF(SYMBOL) upcomingSplitsDF(SYMBOL) upcomingIPOsDF(SYMBOL)