def test_two_postgreses(postgresql: connection, postgresql2: connection) -> None: """Check two postgresql fixtures on one test.""" cur = postgresql.cursor() cur.execute(MAKE_Q) postgresql.commit() cur.close() cur = postgresql2.cursor() cur.execute(MAKE_Q) postgresql2.commit() cur.close()
def test_main_postgres(postgresql: connection) -> None: """Check main postgresql fixture.""" cur = postgresql.cursor() cur.execute(MAKE_Q) postgresql.commit() cur.close()