Skip to content

ref: test deprecated warnings raised by legacy conversion#34337

Merged
asottile-sentry merged 1 commit into
masterfrom
asottile-explicitly-test-deprecation-warnings
May 9, 2022
Merged

ref: test deprecated warnings raised by legacy conversion#34337
asottile-sentry merged 1 commit into
masterfrom
asottile-explicitly-test-deprecation-warnings

Conversation

@asottile-sentry

Copy link
Copy Markdown
Contributor

part of an effort to make tests warnings-clean

previously this was crashing with errors:

__________________________ test_apply_legacy_settings __________________________
tests/sentry/runner/test_initializer.py:182: in test_apply_legacy_settings
    apply_legacy_settings(settings)
src/sentry/runner/initializer.py:529: in apply_legacy_settings
    warnings.warn(
src/sentry/utils/warnings.py:59: in warn
    handler(warning, **kwargs)
src/sentry/utils/warnings.py:92: in <lambda>
    lambda warning, stacklevel=1: warnings.warn(warning, stacklevel=stacklevel + 2),
E   sentry.utils.warnings.DeprecatedSettingWarning: The SENTRY_USE_QUEUE setting is deprecated. Please use CELERY_ALWAYS_EAGER instead. See 

@asottile-sentry asottile-sentry merged commit 775b352 into master May 9, 2022
@asottile-sentry asottile-sentry deleted the asottile-explicitly-test-deprecation-warnings branch May 9, 2022 14:46
@github-actions github-actions Bot locked and limited conversation to collaborators May 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants