drafted remaining functions
This commit is contained in:
1 parent
f9745ff46d
commit
2380540659
3 files changed
+13
-7
No files matched your search
@@ -104,7 +104,7 @@ class FunctionsTestCase(IsolatedAsyncioTestCase):
|
||||
async def test__get_financial_statement(self, mock_soup_from_url, mock_extract_all_data):
|
||||
mock_session = MagicMock()
|
||||
test_ticker, statement = 'bar', BS
|
||||
test_url = f'{BASE_URL}/{test_ticker}/financials{FIN_STMT_URL_SUFFIX[statement]}'
|
||||
test_url = f'{BASE_URL}{test_ticker}/financials{FIN_STMT_URL_SUFFIX[statement]}'
|
||||
mock_soup_from_url.return_value = mock_soup = MagicMock()
|
||||
mock_extract_all_data.return_value = expected_output = {'foo': 'bar'}
|
||||
|
||||
|
||||
Reference in new issue
Block a user