File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 22from nose .tools import assert_equals
33import time
44
5+
56class OTSpanTest :
67 def setUp ():
78 """ Clear all spans before a test run """
@@ -12,7 +13,6 @@ def tearDown():
1213 """ Do nothing for now """
1314 return None
1415
15-
1616 def test_span_interface ():
1717 span = opentracing .global_tracer .start_span ("blah" )
1818 assert hasattr (span , "finish" )
@@ -24,7 +24,6 @@ def test_span_interface():
2424 assert hasattr (span , "context" )
2525 assert hasattr (span , "log" )
2626
27-
2827 def test_span_ids ():
2928 count = 0
3029 while count <= 1000 :
@@ -34,7 +33,6 @@ def test_span_ids():
3433 assert - 9223372036854775808 <= context .span_id <= 9223372036854775807
3534 assert - 9223372036854775808 <= context .trace_id <= 9223372036854775807
3635
37-
3836 def test_span_fields ():
3937 span = opentracing .global_tracer .start_span ("mycustom" )
4038 assert_equals ("mycustom" , span .operation_name )
@@ -59,7 +57,6 @@ def test_span_queueing():
5957
6058 assert_equals (20 , recorder .queue_size ())
6159
62-
6360 def test_sdk_spans ():
6461 recorder = opentracing .global_tracer .recorder
6562
You can’t perform that action at this time.
0 commit comments