importasyncioimportpytestfromqcs_sdkimportdiagnostics@pytest.mark.qcs_sessiondeftest_get_report():"""The async and sync reports are the same, and are generated without panicing."""asyncdefasync_report():returnawaitdiagnostics.get_report_async()assertdiagnostics.get_report()==asyncio.run(async_report())