File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -989,14 +989,17 @@ def test_enable_integration(sentry_init):
989989 sentry_init ()
990990
991991 client = get_client ()
992- assert "asyncio " not in client .integrations
992+ assert "gnu_backtrace " not in client .integrations
993993
994- from sentry_sdk .integrations .asyncio import AsyncioIntegration
994+ # Using gnu backtrace here because to test this properly it should be a
995+ # non-auto-enabling integration that's also unlikely to become auto-enabling
996+ # in the future
997+ from sentry_sdk .integrations .gnu_backtrace import GnuBacktraceIntegration
995998
996- sentry_sdk .enable_integration (AsyncioIntegration ())
999+ sentry_sdk .enable_integration (GnuBacktraceIntegration ())
9971000
9981001 client = get_client ()
999- assert "asyncio " in client .integrations
1002+ assert "gnu_backtrace " in client .integrations
10001003
10011004
10021005class TracingTestClass :
You can’t perform that action at this time.
0 commit comments