Skip to content

Commit 9bf4722

Browse files
merge
2 parents 223e862 + e397f65 commit 9bf4722

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

tests/integrations/django/test_db_query_data.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,6 @@ def test_db_span_origin_execute(sentry_init, client, capture_events):
482482
assert event["contexts"]["trace"]["origin"] == "auto.http.django"
483483

484484
for span in event["spans"]:
485-
print("span is", span["op"], span["description"])
486485
if span["op"] == "db":
487486
assert span["origin"] == "auto.db.django"
488487
else:
@@ -529,7 +528,7 @@ def test_db_span_origin_executemany(sentry_init, client, capture_events):
529528

530529

531530
@pytest.mark.forked
532-
@pytest_mark_django_db_decorator(transaction=True, databases=["postgres"])
531+
@pytest_mark_django_db_decorator(transaction=True)
533532
def test_db_no_autocommit_execute(sentry_init, client, capture_events):
534533
sentry_init(
535534
integrations=[DjangoIntegration()],
@@ -641,7 +640,7 @@ def test_db_no_autocommit_executemany(sentry_init, client, capture_events):
641640

642641

643642
@pytest.mark.forked
644-
@pytest_mark_django_db_decorator(transaction=True, databases=["postgres"])
643+
@pytest_mark_django_db_decorator(transaction=True)
645644
def test_db_no_autocommit_rollback_execute(sentry_init, client, capture_events):
646645
sentry_init(
647646
integrations=[DjangoIntegration()],
@@ -753,7 +752,7 @@ def test_db_no_autocommit_rollback_executemany(sentry_init, client, capture_even
753752

754753

755754
@pytest.mark.forked
756-
@pytest_mark_django_db_decorator(transaction=True, databases=["postgres"])
755+
@pytest_mark_django_db_decorator(transaction=True)
757756
def test_db_atomic_execute(sentry_init, client, capture_events):
758757
sentry_init(
759758
integrations=[DjangoIntegration()],
@@ -858,7 +857,7 @@ def test_db_atomic_executemany(sentry_init, client, capture_events):
858857

859858

860859
@pytest.mark.forked
861-
@pytest_mark_django_db_decorator(transaction=True, databases=["postgres"])
860+
@pytest_mark_django_db_decorator(transaction=True)
862861
def test_db_atomic_rollback_execute(sentry_init, client, capture_events):
863862
sentry_init(
864863
integrations=[DjangoIntegration()],

0 commit comments

Comments
 (0)