Test that TLS keys are unique across multiple calls.
()
| 136 | |
| 137 | @pytest.mark.asyncio |
| 138 | async def test_tls_key_uniqueness(): |
| 139 | """Test that TLS keys are unique across multiple calls.""" |
| 140 | client = AsyncDstackClient() |
| 141 | result1 = await client.get_tls_key() |
| 142 | result2 = await client.get_tls_key() |
| 143 | # TLS keys should be unique for each call |
| 144 | assert result1.key != result2.key |
| 145 | |
| 146 | |
| 147 | @pytest.mark.asyncio |
nothing calls this directly
no test coverage detected