We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ffd3dd commit ec5ba20Copy full SHA for ec5ba20
1 file changed
opentelemetry-sdk/tests/_configuration/test_resource.py
@@ -337,6 +337,10 @@ def test_host_detector_not_run_when_detection_development_is_none(self):
337
self.assertNotIn(HOST_NAME, resource.attributes)
338
339
def test_host_detector_not_run_when_detectors_list_empty(self):
340
+ config = ResourceConfig(
341
+ detection_development=ExperimentalResourceDetection(detectors=[])
342
+ )
343
+ resource = create_resource(config)
344
345
346
def test_explicit_attributes_override_host_detector(self):
0 commit comments