mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-11-08 18:39:33 +00:00
Bump sentry-sdk from 2.10.0 to 2.13.0 (#5246)
* Bump sentry-sdk from 2.10.0 to 2.13.0 Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 2.10.0 to 2.13.0. - [Release notes](https://github.com/getsentry/sentry-python/releases) - [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-python/compare/2.10.0...2.13.0) --- updated-dependencies: - dependency-name: sentry-sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Replace deprecated apis with new ones --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
This commit is contained in:
@@ -670,7 +670,7 @@ async def docker_logs(docker: DockerAPI, supervisor_name) -> MagicMock:
|
||||
async def capture_exception() -> Mock:
|
||||
"""Mock capture exception method for testing."""
|
||||
with (
|
||||
patch("supervisor.utils.sentry.sentry_connected", return_value=True),
|
||||
patch("supervisor.utils.sentry.sentry_sdk.is_initialized", return_value=True),
|
||||
patch(
|
||||
"supervisor.utils.sentry.sentry_sdk.capture_exception"
|
||||
) as capture_exception,
|
||||
@@ -682,7 +682,7 @@ async def capture_exception() -> Mock:
|
||||
async def capture_event() -> Mock:
|
||||
"""Mock capture event for testing."""
|
||||
with (
|
||||
patch("supervisor.utils.sentry.sentry_connected", return_value=True),
|
||||
patch("supervisor.utils.sentry.sentry_sdk.is_initialized", return_value=True),
|
||||
patch("supervisor.utils.sentry.sentry_sdk.capture_event") as capture_event,
|
||||
):
|
||||
yield capture_event
|
||||
|
||||
Reference in New Issue
Block a user