()
| 457 | |
| 458 | @pytest.mark.asyncio |
| 459 | async def test_async_sign_prehashed_length_error(): |
| 460 | client = AsyncDstackClient() |
| 461 | algo = "secp256k1_prehashed" |
| 462 | with pytest.raises(ValueError) as excinfo: |
| 463 | await client.sign(algo, b"too short") |
| 464 | assert "32-byte digest" in str(excinfo.value) |
| 465 | |
| 466 | |
| 467 | # Test deprecated TappdClient |
nothing calls this directly
no test coverage detected