Skip to content

Commit 990565e

Browse files
committed
update test
1 parent 512a55f commit 990565e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/tracing/test_misc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def test_span_set_data_update_data(sentry_init, capture_events):
201201

202202
events = capture_events()
203203

204-
with sentry_sdk.start_transaction(name="test-transaction"):
204+
with sentry_sdk.start_span(name="test-root-span"):
205205
with start_span(op="test-span") as span:
206206
span.set_data("key0", "value0")
207207
span.set_data("key1", "value1")
@@ -232,7 +232,7 @@ def test_update_current_span(sentry_init, capture_events):
232232

233233
events = capture_events()
234234

235-
with sentry_sdk.start_transaction(name="test-transaction"):
235+
with sentry_sdk.start_span(name="test-root-span"):
236236
with start_span(op="test-span-op", name="test-span-name"):
237237
sentry_sdk.update_current_span(
238238
op="updated-span-op",

0 commit comments

Comments
 (0)