Skip to content

Commit 881f4af

Browse files
lint test
1 parent b9335f0 commit 881f4af

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

instrumentation/opentelemetry-instrumentation-dbapi/tests/test_dbapi_integration.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def test_executemany(self):
252252

253253
def test_executemany_comment(self):
254254
connect_module = mock.MagicMock()
255-
connect_module.__name__ = mock.MagicMock()
255+
connect_module.__name__ = "test"
256256
connect_module.__version__ = mock.MagicMock()
257257
connect_module.__libpq_version__ = 123
258258
connect_module.apilevel = 123
@@ -278,7 +278,7 @@ def test_executemany_comment(self):
278278

279279
def test_compatible_build_version_psycopg_psycopg2_libpq(self):
280280
connect_module = mock.MagicMock()
281-
connect_module.__name__ = mock.MagicMock()
281+
connect_module.__name__ = "test"
282282
connect_module.__version__ = mock.MagicMock()
283283
connect_module.pq = mock.MagicMock()
284284
connect_module.pq.__build_version__ = 123
@@ -305,7 +305,7 @@ def test_compatible_build_version_psycopg_psycopg2_libpq(self):
305305

306306
def test_executemany_flask_integration_comment(self):
307307
connect_module = mock.MagicMock()
308-
connect_module.__name__ = mock.MagicMock()
308+
connect_module.__name__ = "test"
309309
connect_module.__version__ = mock.MagicMock()
310310
connect_module.__libpq_version__ = 123
311311
connect_module.apilevel = 123

0 commit comments

Comments
 (0)