Test that manager initializes with correct parameters
()
| 29 | |
| 30 | @pytest.mark.asyncio |
| 31 | async def test_initialization(): |
| 32 | """Test that manager initializes with correct parameters""" |
| 33 | manager = ThreadedApiManager( |
| 34 | api_key="test_key", |
| 35 | api_secret="test_secret", |
| 36 | tld="com", |
| 37 | testnet=True, |
| 38 | requests_params={"timeout": 10}, |
| 39 | session_params={"trust_env": True}, |
| 40 | ) |
| 41 | |
| 42 | assert manager._running is True |
| 43 | assert manager._socket_running == {} |
| 44 | assert manager._client_params == { |
| 45 | "api_key": "test_key", |
| 46 | "api_secret": "test_secret", |
| 47 | "requests_params": {"timeout": 10}, |
| 48 | "tld": "com", |
| 49 | "testnet": True, |
| 50 | "session_params": {"trust_env": True}, |
| 51 | "https_proxy": None, |
| 52 | "verbose": False, |
| 53 | } |
| 54 | |
| 55 | |
| 56 | @pytest.mark.asyncio |
nothing calls this directly
no test coverage detected
searching dependent graphs…