Skip to content

Commit

Permalink
test: Adds additional assertion to 'test_resource_detector_entry_poin…
Browse files Browse the repository at this point in the history
…ts_tolerate_missing_detector'
  • Loading branch information
cruisehall committed Dec 29, 2024
1 parent a47ffe3 commit 993ed42
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion opentelemetry-sdk/tests/resources/test_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -806,5 +806,7 @@ def test_resource_detector_entry_points_host(self):
)
def test_resource_detector_entry_points_tolerate_missing_detector(self):
resource = Resource({}).create()
self.assertEqual(
resource.attributes["telemetry.sdk.language"], "python"
)
self.assertIn(HOST_NAME, resource.attributes)
self.assertIn(HOST_ARCH, resource.attributes)

0 comments on commit 993ed42

Please sign in to comment.