Skip to content

Commit

Permalink
Remove flaky test (#3626)
Browse files Browse the repository at this point in the history
  • Loading branch information
sentrivana authored Oct 8, 2024
1 parent 3945fc1 commit 01b4687
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/test_basics.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
setup_integrations,
)
from sentry_sdk.integrations.logging import LoggingIntegration
from sentry_sdk.integrations.redis import RedisIntegration
from sentry_sdk.integrations.stdlib import StdlibIntegration
from sentry_sdk.scope import add_global_event_processor
from sentry_sdk.utils import get_sdk_name, reraise
Expand Down Expand Up @@ -887,13 +886,6 @@ def test_functions_to_trace_with_class(sentry_init, capture_events):
assert event["spans"][1]["description"] == "tests.test_basics.WorldGreeter.greet"


def test_redis_disabled_when_not_installed(sentry_init):
with ModuleImportErrorSimulator(["redis"], ImportError):
sentry_init()

assert sentry_sdk.get_client().get_integration(RedisIntegration) is None


def test_multiple_setup_integrations_calls():
first_call_return = setup_integrations([NoOpIntegration()], with_defaults=False)
assert first_call_return == {NoOpIntegration.identifier: NoOpIntegration()}
Expand Down

0 comments on commit 01b4687

Please sign in to comment.