From 881f4af78ecf35f01d702f351c48a2e5e6a72544 Mon Sep 17 00:00:00 2001 From: tammy-baylis-swi Date: Wed, 9 Oct 2024 15:52:22 -0700 Subject: [PATCH] lint test --- .../tests/test_dbapi_integration.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/instrumentation/opentelemetry-instrumentation-dbapi/tests/test_dbapi_integration.py b/instrumentation/opentelemetry-instrumentation-dbapi/tests/test_dbapi_integration.py index 3bcfb4421c..bc76eeb578 100644 --- a/instrumentation/opentelemetry-instrumentation-dbapi/tests/test_dbapi_integration.py +++ b/instrumentation/opentelemetry-instrumentation-dbapi/tests/test_dbapi_integration.py @@ -252,7 +252,7 @@ def test_executemany(self): def test_executemany_comment(self): connect_module = mock.MagicMock() - connect_module.__name__ = mock.MagicMock() + connect_module.__name__ = "test" connect_module.__version__ = mock.MagicMock() connect_module.__libpq_version__ = 123 connect_module.apilevel = 123 @@ -278,7 +278,7 @@ def test_executemany_comment(self): def test_compatible_build_version_psycopg_psycopg2_libpq(self): connect_module = mock.MagicMock() - connect_module.__name__ = mock.MagicMock() + connect_module.__name__ = "test" connect_module.__version__ = mock.MagicMock() connect_module.pq = mock.MagicMock() connect_module.pq.__build_version__ = 123 @@ -305,7 +305,7 @@ def test_compatible_build_version_psycopg_psycopg2_libpq(self): def test_executemany_flask_integration_comment(self): connect_module = mock.MagicMock() - connect_module.__name__ = mock.MagicMock() + connect_module.__name__ = "test" connect_module.__version__ = mock.MagicMock() connect_module.__libpq_version__ = 123 connect_module.apilevel = 123