Skip to content

Commit f533140

Browse files
committed
Python: test aiopg.sa
1 parent cd332a7 commit f533140

File tree

1 file changed

+7
-0
lines changed
  • python/ql/test/library-tests/frameworks/aiopg

1 file changed

+7
-0
lines changed

python/ql/test/library-tests/frameworks/aiopg/test.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,10 @@ async def test_cursor():
1717
# Create Cursor directly
1818
async with pool.cursor() as cur:
1919
await cur.execute("sql") # $ getSql="sql" constructedSql="sql"
20+
21+
from aiopg.sa import create_engine
22+
23+
async def test_engine():
24+
engine = await create_engine()
25+
conn = await engine.acquire()
26+
await conn.execute("sql") # $ MISSING: getSql="sql" constructedSql="sql"

0 commit comments

Comments
 (0)