Skip to content

Commit

Permalink
Update instrumentation/opentelemetry-instrumentation-sqlalchemy/tests…
Browse files Browse the repository at this point in the history
…/test_sqlalchemy.py

Co-authored-by: Tammy Baylis <96076570+tammy-baylis-swi@users.noreply.github.com>
  • Loading branch information
moredip and tammy-baylis-swi authored Nov 8, 2024
1 parent b0d9907 commit cbb0447
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def test_instrument_engine_from_config(self):

engine = engine_from_config({"sqlalchemy.url": "sqlite:///:memory:"})
cnx = engine.connect()
cnx.execute("SELECT 1 + 1;").fetchall()
cnx.execute(text("SELECT 1 + 1;")).fetchall()
spans = self.memory_exporter.get_finished_spans()

self.assertEqual(len(spans), 2)
Expand Down

0 comments on commit cbb0447

Please sign in to comment.