Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Kludex committed Dec 4, 2024
1 parent 66a1747 commit 8f154d8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,10 @@ class PostgresqlIntegrationTestMixin:
def setUp(self):
super().setUp()
self.cursor_mock = mock.patch(
"opentelemetry.instrumentation.psycopg.pg_cursor", MockCursor
"opentelemetry.instrumentation.psycopg.Cursor", MockCursor
)
self.cursor_async_mock = mock.patch(
"opentelemetry.instrumentation.psycopg.pg_async_cursor",
"opentelemetry.instrumentation.psycopg.AsyncCursor",
MockAsyncCursor,
)
self.connection_mock = mock.patch("psycopg.connect", MockConnection)
Expand Down

0 comments on commit 8f154d8

Please sign in to comment.