Skip to content

Commit eace103

Browse files
committed
fix: Formatting
1 parent 9c21889 commit eace103

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/test_tracing.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ def test_basic(sentry_init, capture_events, sample_rate):
1111

1212
with Hub.current.trace(transaction="hi"):
1313
with pytest.raises(ZeroDivisionError):
14-
with Hub.current.span(op='foo', description='foodesc'):
14+
with Hub.current.span(op="foo", description="foodesc"):
1515
1 / 0
1616

17-
with Hub.current.span(op='bar', description='bardesc'):
17+
with Hub.current.span(op="bar", description="bardesc"):
1818
pass
1919

2020
if sample_rate:
@@ -23,11 +23,11 @@ def test_basic(sentry_init, capture_events, sample_rate):
2323
span1, span2 = event["spans"]
2424
parent_span = event
2525
assert span1["tags"]["error"]
26-
assert span1['op'] == 'foo'
27-
assert span1['description'] == 'foodesc'
26+
assert span1["op"] == "foo"
27+
assert span1["description"] == "foodesc"
2828
assert not span2["tags"]["error"]
29-
assert span2['op'] == 'bar'
30-
assert span2['description'] == 'bardesc'
29+
assert span2["op"] == "bar"
30+
assert span2["description"] == "bardesc"
3131
assert parent_span["transaction"] == "hi"
3232
else:
3333
assert not events

0 commit comments

Comments
 (0)