Skip to content

Commit e7b6400

Browse files
committed
Python: Add tests for PyMySQL
1 parent 249eea9 commit e7b6400

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

python/ql/test/experimental/library-tests/frameworks/pymysql/ConceptsTest.expected

Whitespace-only changes.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import python
2+
import experimental.meta.ConceptsTest
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import pymysql
2+
connection = pymysql.connect(host="localhost", user="user", password="passwd")
3+
4+
cursor = connection.cursor()
5+
cursor.execute("some sql", (42,)) # $ MISSING: getSql="some sql"

0 commit comments

Comments
 (0)