Skip to content

Commit

Permalink
Merge branch 'main' into update-docs-version
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl authored Nov 22, 2023
2 parents a7e5e88 + c0576a0 commit 80e68f6
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ def assertEqualSpanInstrumentationInfo(self, span, module):
self.assertEqual(span.instrumentation_info.name, module.__name__)
self.assertEqual(span.instrumentation_info.version, module.__version__)

def assertEqualSpanInstrumentationScope(self, span, module):
self.assertEqual(span.instrumentation_scope.name, module.__name__)
self.assertEqual(
span.instrumentation_scope.version, module.__version__
)

def assertSpanHasAttributes(self, span, attributes):
for key, val in attributes.items():
self.assertIn(key, span.attributes)
Expand Down

0 comments on commit 80e68f6

Please sign in to comment.