Add official monthly ADP calendar collection
This commit is contained in:
1 parent
8d6cbeeb40
commit
4184bc68e6
14 files changed
+631
-9
No files matched your search
@@ -282,7 +282,7 @@ def test_worker_initializes_all_sources_and_drops_expired_month_status(trading):
|
||||
worker = CalendarWorker()
|
||||
worker.sources["https://www.federalreserve.gov/old-month.htm"] = {"error": "old"}
|
||||
async def unavailable(source, url, *, query=None):
|
||||
assert len(worker.sources) == 17
|
||||
assert len(worker.sources) == 18
|
||||
assert all(s["error"] for s in worker.sources.values())
|
||||
raise httpx.ConnectError("source unavailable")
|
||||
worker.fetch = unavailable
|
||||
|
||||
Reference in new issue
Block a user