Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sentrivana committed Oct 3, 2024
1 parent 4309812 commit ff7d3b8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/integrations/django/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -1205,9 +1205,12 @@ def test_transaction_http_method_default(sentry_init, client, capture_events):
By default OPTIONS and HEAD requests do not create a transaction.
"""
sentry_init(
integrations=[DjangoIntegration(
middleware_spans=False,
signals_spans=False,)],
integrations=[
DjangoIntegration(
middleware_spans=False,
signals_spans=False,
)
],
traces_sample_rate=1.0,
)
events = capture_events()
Expand Down Expand Up @@ -1242,7 +1245,6 @@ def test_transaction_http_method_custom(sentry_init, client, capture_events):
client.options(reverse("nomessage"))
client.head(reverse("nomessage"))


assert len(events) == 2

(event1, event2) = events
Expand Down

0 comments on commit ff7d3b8

Please sign in to comment.