Skip to content

Commit cdfcd78

Browse files
committed
.
1 parent 0110fc6 commit cdfcd78

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

tests/test_basics.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff 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

10021005
class TracingTestClass:

0 commit comments

Comments
 (0)