5e42ce9c69
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
22 lines
400 B
Python
22 lines
400 B
Python
from __future__ import annotations
|
|
|
|
from unittest.mock import MagicMock
|
|
|
|
import pytest
|
|
from cerbero_mcp.exchanges.bybit.client import BybitClient
|
|
|
|
|
|
@pytest.fixture
|
|
def mock_http():
|
|
return MagicMock(name="pybit_HTTP")
|
|
|
|
|
|
@pytest.fixture
|
|
def client(mock_http):
|
|
return BybitClient(
|
|
api_key="test_key",
|
|
api_secret="test_secret",
|
|
testnet=True,
|
|
http=mock_http,
|
|
)
|