コード例 #1
0
 def test_init(self, nop_tracer, nop_span_ctx):
     """Very basic test for skeleton code"""
     span = Span(nop_tracer, nop_span_ctx, "my_op_name")
     assert not span.finished
コード例 #2
0
def nop_span(nop_tracer, nop_span_ctx):
    return Span(nop_tracer, nop_span_ctx, "my_op_name")