Skip to content

Commit

Permalink
i
Browse files Browse the repository at this point in the history
  • Loading branch information
tlocke committed Apr 1, 2024
1 parent d45b9e1 commit e8048ea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/dbapi/auth/test_scram-sha-256.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@

@pytest.fixture
def setup(con, cursor):
con.autocommit = True
try:
cursor.execute(f"CREATE DATABASE {DB}")
except DatabaseError:
con.rollback()

con.autocommit = True
con.rollback()
cursor.execute("ALTER SYSTEM SET ssl = off")
cursor.execute("SELECT pg_reload_conf()")
yield
Expand Down

0 comments on commit e8048ea

Please sign in to comment.