summaryrefslogtreecommitdiff
path: root/services/news-collector/tests/test_sec_edgar.py
diff options
context:
space:
mode:
Diffstat (limited to 'services/news-collector/tests/test_sec_edgar.py')
-rw-r--r--services/news-collector/tests/test_sec_edgar.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/services/news-collector/tests/test_sec_edgar.py b/services/news-collector/tests/test_sec_edgar.py
index a10b47a..5d4f69f 100644
--- a/services/news-collector/tests/test_sec_edgar.py
+++ b/services/news-collector/tests/test_sec_edgar.py
@@ -40,7 +40,9 @@ async def test_collect_parses_filings(collector):
mock_datetime.now.return_value = datetime(2026, 4, 2, tzinfo=timezone.utc)
mock_datetime.strptime = datetime.strptime
- with patch.object(collector, "_fetch_recent_filings", new_callable=AsyncMock, return_value=[mock_response]):
+ with patch.object(
+ collector, "_fetch_recent_filings", new_callable=AsyncMock, return_value=[mock_response]
+ ):
with patch("news_collector.collectors.sec_edgar.datetime", mock_datetime):
items = await collector.collect()