()
| 171 | |
| 172 | @pytest.mark.asyncio |
| 173 | async def test_report_data(): |
| 174 | reportdata = "test" |
| 175 | client = AsyncDstackClient() |
| 176 | result = await client.get_quote(reportdata) |
| 177 | tdxQuote = TdxQuote(bytearray(result.decode_quote())) |
| 178 | reportdata = reportdata.encode("utf-8") + b"\x00" * (64 - len(reportdata)) |
| 179 | assert reportdata == tdxQuote.body.reportdata |
| 180 | |
| 181 | |
| 182 | def test_sync_client_is_reachable(): |
nothing calls this directly
no test coverage detected