mirror of
https://github.com/github/codeql.git
synced 2026-05-03 04:39:29 +02:00
Add tests
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
import python
|
||||
import experimental.meta.ConceptsTest
|
||||
@@ -0,0 +1,8 @@
|
||||
import phoenixdb
|
||||
import phoenixdb.cursor
|
||||
|
||||
database_url = 'http://localhost:8765/'
|
||||
conn = phoenixdb.connect(database_url, autocommit=True)
|
||||
|
||||
cursor = conn.cursor()
|
||||
cursor.execute("some sql") # $ getSql="some sql"
|
||||
@@ -0,0 +1,2 @@
|
||||
import python
|
||||
import experimental.meta.ConceptsTest
|
||||
6
python/ql/test/library-tests/frameworks/pyodbc/pep249.py
Normal file
6
python/ql/test/library-tests/frameworks/pyodbc/pep249.py
Normal file
@@ -0,0 +1,6 @@
|
||||
import pyodbc
|
||||
|
||||
cnxn = pyodbc.connect('DSN=test;PWD=password')
|
||||
|
||||
cursor = cnxn.cursor()
|
||||
cursor.execute("some sql") # $ getSql="some sql"
|
||||
Reference in New Issue
Block a user