19 lines
468 B
Python
19 lines
468 B
Python
from __future__ import annotations
|
|
|
|
import pytest
|
|
from cerbero_mcp.exchanges.bybit.client import BybitClient
|
|
|
|
|
|
@pytest.fixture
|
|
def client():
|
|
"""BybitClient con base_url testnet e AsyncClient interno.
|
|
|
|
pytest-httpx intercetta le chiamate dell'AsyncClient httpx creato dal
|
|
costruttore (auto-mock), quindi non serve injection esplicita.
|
|
"""
|
|
return BybitClient(
|
|
api_key="test_key",
|
|
api_secret="test_secret",
|
|
testnet=True,
|
|
)
|