()
| 119 | |
| 120 | @pytest.mark.asyncio |
| 121 | async def test_async_client_get_tls_key(): |
| 122 | client = AsyncDstackClient() |
| 123 | result = await client.get_tls_key() |
| 124 | assert isinstance(result, GetTlsKeyResponse) |
| 125 | assert isinstance(result.key, str) |
| 126 | assert result.key.startswith("-----BEGIN PRIVATE KEY-----") |
| 127 | assert len(result.certificate_chain) > 0 |
| 128 | |
| 129 | |
| 130 | @pytest.mark.asyncio |
nothing calls this directly
no test coverage detected