Fix Sentry user context and system info (#39130)
This commit is contained in:
parent
cdb6161d3d
commit
3c1c6069da
2 changed files with 19 additions and 1 deletions
|
@ -154,6 +154,9 @@ async def test_process_before_send(hass: HomeAssistant):
|
|||
assert tags["uuid"] == "12345"
|
||||
assert tags["installation_type"] == "pytest"
|
||||
|
||||
user = result["user"]
|
||||
assert user["id"] == "12345"
|
||||
|
||||
|
||||
async def test_event_with_platform_context(hass: HomeAssistant):
|
||||
"""Test extraction of platform context information during Sentry events."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue