We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb941b5 commit 51f5b05Copy full SHA for 51f5b05
instrumentation/opentelemetry-instrumentation-aiohttp-client/tests/test_aiohttp_client_integration.py
@@ -886,7 +886,9 @@ def response_hook(
886
887
class TestLoadingAioHttpInstrumentor(unittest.TestCase):
888
def test_loading_instrumentor(self):
889
- eps = entry_points("opentelemetry_instrumentor", "aiohttp-client")
+ (entry_point,) = entry_points(
890
+ group="opentelemetry_instrumentor", name="aiohttp-client"
891
+ )
892
- instrumentor = next(eps).load()()
893
+ instrumentor = entry_point.load()()
894
self.assertIsInstance(instrumentor, AioHttpClientInstrumentor)
0 commit comments