From 993ed423485ccb8caf7eee21560de88711a3ab5e Mon Sep 17 00:00:00 2001 From: Cruise Hall <19177287+cruisehall@users.noreply.github.com> Date: Sun, 29 Dec 2024 20:52:36 +0000 Subject: [PATCH] test: Adds additional assertion to 'test_resource_detector_entry_points_tolerate_missing_detector' --- opentelemetry-sdk/tests/resources/test_resources.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/opentelemetry-sdk/tests/resources/test_resources.py b/opentelemetry-sdk/tests/resources/test_resources.py index 6d10eb6fd5..e735e4c521 100644 --- a/opentelemetry-sdk/tests/resources/test_resources.py +++ b/opentelemetry-sdk/tests/resources/test_resources.py @@ -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)