Local changes: Updated model training, removed debug instrumentation, and configuration improvements

This commit is contained in:
kfox
2025-12-26 01:15:43 -05:00
commit cc60da49e7
388 changed files with 57127 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
"""Tests for base exchange adapter."""
import pytest
from unittest.mock import Mock, AsyncMock
from src.exchanges.base import BaseExchange
class TestBaseExchange:
"""Tests for BaseExchange abstract class."""
def test_base_exchange_init(self):
"""Test base exchange initialization."""
# Can't instantiate abstract class, test through concrete implementation
from src.exchanges.coinbase import CoinbaseExchange
exchange = CoinbaseExchange(
name="test",
api_key="test_key",
secret_key="test_secret"
)
assert exchange.name == "test"
assert exchange.api_key == "test_key"
assert not exchange.is_connected