File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
tests/util/src/opentelemetry/test Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 10
10
# Otherwise, set variable to the commit of your branch on
11
11
# opentelemetry-python-contrib which is compatible with these Core repo
12
12
# changes.
13
- CONTRIB_REPO_SHA : 3ad534cbba41c2b92618f5f03c4c92cee4a72df6
13
+ CONTRIB_REPO_SHA : 2a92e255f7595024242e45c0050c8f3de7140b6b
14
14
15
15
jobs :
16
16
build :
Original file line number Diff line number Diff line change 24
24
25
25
26
26
class TestBase (unittest .TestCase ):
27
+ # pylint: disable=C0103
28
+
27
29
@classmethod
28
30
def setUpClass (cls ):
29
31
cls .original_tracer_provider = trace_api .get_tracer_provider ()
@@ -44,11 +46,11 @@ def tearDownClass(cls):
44
46
def setUp (self ):
45
47
self .memory_exporter .clear ()
46
48
47
- def check_span_instrumentation_info (self , span , module ):
49
+ def assertEqualSpanInstrumentationInfo (self , span , module ):
48
50
self .assertEqual (span .instrumentation_info .name , module .__name__ )
49
51
self .assertEqual (span .instrumentation_info .version , module .__version__ )
50
52
51
- def assert_span_has_attributes (self , span , attributes ):
53
+ def assertSpanHasAttributes (self , span , attributes ):
52
54
for key , val in attributes .items ():
53
55
self .assertIn (key , span .attributes )
54
56
self .assertEqual (val , span .attributes [key ])
You can’t perform that action at this time.
0 commit comments