Skip to content

Commit 47835aa

Browse files
committed
fix
1 parent 8f154d8 commit 47835aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

instrumentation/opentelemetry-instrumentation-psycopg/tests/test_psycopg_integration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,10 @@ class PostgresqlIntegrationTestMixin:
132132
def setUp(self):
133133
super().setUp()
134134
self.cursor_mock = mock.patch(
135-
"opentelemetry.instrumentation.psycopg.Cursor", MockCursor
135+
"opentelemetry.instrumentation.psycopg.psycopg.Cursor", MockCursor
136136
)
137137
self.cursor_async_mock = mock.patch(
138-
"opentelemetry.instrumentation.psycopg.AsyncCursor",
138+
"opentelemetry.instrumentation.psycopg.psycopg.AsyncCursor",
139139
MockAsyncCursor,
140140
)
141141
self.connection_mock = mock.patch("psycopg.connect", MockConnection)

0 commit comments

Comments
 (0)