清理旧决策卡片、市场总览、跑道面板等已废弃组件
This commit is contained in:
@@ -18,14 +18,12 @@ def test_refresh_policy_cadences_are_layered():
|
||||
def test_backend_defaults_use_refresh_policy():
|
||||
import src.data_collection.weather_sources as weather_sources
|
||||
import web.services.city_runtime as city_runtime
|
||||
import web.services.market_overview_api as market_overview_api
|
||||
import web.services.scan_ai_config as scan_ai_config
|
||||
|
||||
assert scan_ai_config.SCAN_TERMINAL_PAYLOAD_TTL_SEC == SCAN_ROWS_REFRESH_SEC
|
||||
assert city_runtime.CITY_FULL_CACHE_TTL_SEC == OBSERVATION_REFRESH_SEC
|
||||
assert city_runtime.CITY_PANEL_CACHE_TTL_SEC == SCAN_ROWS_REFRESH_SEC
|
||||
assert city_runtime.CITY_MARKET_CACHE_TTL_SEC == SCAN_ROWS_REFRESH_SEC
|
||||
assert market_overview_api.OVERVIEW_CACHE_TTL_SEC == MARKET_OVERVIEW_TTL_SEC
|
||||
|
||||
source = weather_sources.WeatherDataCollector({})
|
||||
assert source.metar_cache_ttl_sec == METAR_POLL_TTL_SEC
|
||||
|
||||
Reference in New Issue
Block a user