()
| 159 | |
| 160 | @pytest.mark.asyncio |
| 161 | async def test_get_quote_raw_hash_error(): |
| 162 | with pytest.raises(ValueError) as excinfo: |
| 163 | client = AsyncDstackClient() |
| 164 | await client.get_quote("0" * 65) |
| 165 | assert "64 bytes" in str(excinfo.value) |
| 166 | with pytest.raises(ValueError) as excinfo: |
| 167 | client = AsyncDstackClient() |
| 168 | await client.get_quote(b"0" * 129) |
| 169 | assert "64 bytes" in str(excinfo.value) |
| 170 | |
| 171 | |
| 172 | @pytest.mark.asyncio |
nothing calls this directly
no test coverage detected