Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
tammy-baylis-swi committed Dec 5, 2024
1 parent 72d41e5 commit ea8d73d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ def test_instrument_connection_with_instrument(self):
self.assertEqual(len(spans_list), 0)

Psycopg2Instrumentor().instrument()
cnx = psycopg2.connect(database="test")
cnx = Psycopg2Instrumentor().instrument_connection(cnx)
cursor = cnx.cursor()
cursor.execute(query)
Expand Down

0 comments on commit ea8d73d

Please sign in to comment.