Less dirty servers & fix python

This commit is contained in:
Lev Kokotov
2022-02-03 18:02:50 -08:00
parent baf2852f03
commit 83daaf92d1
7 changed files with 34 additions and 0 deletions

1
tests/python/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
venv/

View File

@@ -0,0 +1 @@
psycopg2==2.9.3

9
tests/python/tests.py Normal file
View File

@@ -0,0 +1,9 @@
import psycopg2
conn = psycopg2.connect("postgres://random:password@127.0.0.1:5433/db")
cur = conn.cursor()
cur.execute("SELECT 123");
res = cur.fetchall()
print(res)