mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-28 10:30:40 +00:00
Simplify
This commit is contained in:
@@ -1,17 +1,4 @@
|
||||
import psycopg2
|
||||
import json
|
||||
import subprocess
|
||||
import asyncio
|
||||
import time
|
||||
|
||||
|
||||
def test_proxy_password_auth(vanilla_pg, zenith_proxy):
|
||||
vanilla_pg.configure(['shared_buffers=1MB'])
|
||||
vanilla_pg.start()
|
||||
vanilla_pg.safe_psql("create user postgres with password 'postgres';")
|
||||
|
||||
zenith_proxy.start_static()
|
||||
|
||||
conn = zenith_proxy.connect()
|
||||
|
||||
print(zenith_proxy.safe_psql("select 1;")[0])
|
||||
def test_proxy_select_1(vanilla_pg_1mb, static_proxy):
|
||||
static_proxy.safe_psql("select 1;")
|
||||
|
||||
Reference in New Issue
Block a user