Fix Sentry user context and system info (#39130)

This commit is contained in:
Franck Nijhof 2020-08-22 19:51:39 +02:00 committed by GitHub
parent cdb6161d3d
commit 3c1c6069da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 1 deletions

View file

@ -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."""