mirror of
https://github.com/TauricResearch/TradingAgents.git
synced 2026-09-30 08:22:25 +03:00
fix: name no date after the run in what a historical run reads
- coverage and withholding notices named where a vendor's coverage starts or today's date - the instrument context named today's date in every analyst prompt
This commit is contained in:
@@ -128,7 +128,7 @@ def test_ticker_news_window_before_feed_coverage_is_unavailable(monkeypatch):
|
||||
out = ynews.get_news_yfinance("AAPL", "2026-08-07", "2026-08-14")
|
||||
assert "RECENT" not in out
|
||||
assert "unavailable" in out and "not an absence" in out
|
||||
assert "2026-09-10" in out # says how far back the feed actually reaches
|
||||
assert "2026-09-10" not in out # an article after the window
|
||||
|
||||
|
||||
@pytest.mark.unit
|
||||
|
||||
Reference in New Issue
Block a user