Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raven in tests. #76

Open
rerowep opened this issue Oct 24, 2024 · 0 comments
Open

Raven in tests. #76

rerowep opened this issue Oct 24, 2024 · 0 comments

Comments

@rerowep
Copy link
Contributor

rerowep commented Oct 24, 2024

Package version (if known): > 2.0

Describe the bug

There are still raven imports in tests:

@pytest.yield_fixture()
def sentry_emit():
    """Mock Sentry emit."""
    from raven.handlers.logging import SentryHandler

    with patch.object(SentryHandler, "emit") as sentry_emit:
        yield sentry_emit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant