Skip to content

Commit 7eb2bce

Browse files
committed
mypy
1 parent 2d2e8f0 commit 7eb2bce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/testing_processor.py

+2
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ def fetch_normalized_spans():
8585
traces = []
8686
for trace_obj in fetch_traces():
8787
trace = trace_obj.export()
88+
assert trace
8889
assert trace.pop("object") == "trace"
8990
assert trace.pop("id").startswith("trace_")
9091
trace = {k: v for k, v in trace.items() if v is not None}
@@ -96,6 +97,7 @@ def fetch_normalized_spans():
9697

9798
for span_obj in fetch_ordered_spans():
9899
span = span_obj.export()
100+
assert span
99101
assert span.pop("object") == "trace.span"
100102
assert span.pop("id").startswith("span_")
101103
assert datetime.fromisoformat(span.pop("started_at"))

0 commit comments

Comments
 (0)