From 2446214389fb8f4644d1a24a19e5e3d7b55e8651 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Thu, 2 Apr 2026 10:05:25 +0900 Subject: refactor: replace Binance/ccxt with Alpaca API client for US stocks --- shared/tests/test_models.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'shared/tests/test_models.py') diff --git a/shared/tests/test_models.py b/shared/tests/test_models.py index e3b9f12..2b8cd5e 100644 --- a/shared/tests/test_models.py +++ b/shared/tests/test_models.py @@ -8,15 +8,9 @@ from unittest.mock import patch def test_settings_defaults(): """Test that Settings has correct defaults.""" - with patch.dict( - os.environ, - { - "BINANCE_API_KEY": "test_key", - "BINANCE_API_SECRET": "test_secret", - }, - ): - from shared.config import Settings + from shared.config import Settings + with patch.dict(os.environ, {}, clear=False): settings = Settings() assert settings.redis_url == "redis://localhost:6379" assert settings.database_url == "postgresql://trading:trading@localhost:5432/trading" -- cgit v1.2.3