Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d2e8f0 commit 7eb2bceCopy full SHA for 7eb2bce
tests/testing_processor.py
@@ -85,6 +85,7 @@ def fetch_normalized_spans():
85
traces = []
86
for trace_obj in fetch_traces():
87
trace = trace_obj.export()
88
+ assert trace
89
assert trace.pop("object") == "trace"
90
assert trace.pop("id").startswith("trace_")
91
trace = {k: v for k, v in trace.items() if v is not None}
@@ -96,6 +97,7 @@ def fetch_normalized_spans():
96
97
98
for span_obj in fetch_ordered_spans():
99
span = span_obj.export()
100
+ assert span
101
assert span.pop("object") == "trace.span"
102
assert span.pop("id").startswith("span_")
103
assert datetime.fromisoformat(span.pop("started_at"))
0 commit comments