File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change 3434 setup_integrations ,
3535)
3636from sentry_sdk .integrations .logging import LoggingIntegration
37- from sentry_sdk .integrations .redis import RedisIntegration
3837from sentry_sdk .integrations .stdlib import StdlibIntegration
3938from sentry_sdk .scope import add_global_event_processor
4039from sentry_sdk .utils import get_sdk_name , reraise
@@ -887,13 +886,6 @@ def test_functions_to_trace_with_class(sentry_init, capture_events):
887886 assert event ["spans" ][1 ]["description" ] == "tests.test_basics.WorldGreeter.greet"
888887
889888
890- def test_redis_disabled_when_not_installed (sentry_init ):
891- with ModuleImportErrorSimulator (["redis" ], ImportError ):
892- sentry_init ()
893-
894- assert sentry_sdk .get_client ().get_integration (RedisIntegration ) is None
895-
896-
897889def test_multiple_setup_integrations_calls ():
898890 first_call_return = setup_integrations ([NoOpIntegration ()], with_defaults = False )
899891 assert first_call_return == {NoOpIntegration .identifier : NoOpIntegration ()}
You can’t perform that action at this time.
0 commit comments