"""Basic tests for shared config loader.""" from services.shared.config import load_config, AppConfig def test_load_config_returns_app_config(): config = load_config() assert isinstance(config, AppConfig) def test_postgres_dsn_format(): config = load_config() assert config.postgres.dsn.startswith("postgresql://") def test_redis_url_format(): config = load_config() assert config.redis.url.startswith("redis://") def test_default_broker_mode(): config = load_config() assert config.broker.mode == "paper"