Skip to content

Commit 0f84b11

Browse files
committed
fixed one test
1 parent 176aaa2 commit 0f84b11

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/integrations/celery/test_celery.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import threading
22
import kombu
33
from unittest import mock
4+
from urllib.parse import quote
45

56
import pytest
67
from celery import Celery, VERSION
@@ -518,6 +519,7 @@ def dummy_task(self, x, y):
518519
[
519520
"sentry-release=abcdef",
520521
"sentry-trace_id={}".format(root_span.trace_id),
522+
"sentry-transaction={}".format(quote("<unlabeled span>")),
521523
"sentry-environment=production",
522524
"sentry-sample_rate=1.0",
523525
"sentry-sampled=true",

0 commit comments

Comments
 (0)