You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(logs): Avoid failure when running with integrations enabled (#4316)
When (at least) one of integrations is enabled (because some
dependencies are installed in the environment), `sentry.sdk.name` is
changed from `sentry.python` to
`sentry.python.[FIRST_ENABLED_INTEGRATION]` which makes
`test_logs_attributes` fail. Prevent failure by relaxing the check.
This change is beneficial not only for packaging (this patch was
required for packaging for Fedora), but also for running tests with
`pytest` directly.
<!-- Describe your PR here -->
---
Thank you for contributing to `sentry-python`! Please add tests to
validate your changes, and lint your code using `tox -e linters`.
Running the test suite on your PR might require maintainer approval.
0 commit comments