Skip to content

Commit 06da368

Browse files
committed
chore: update test_pymysql_conn to psc ip type
1 parent 0ca0653 commit 06da368

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/system/test_pymysql_connection.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ def test_pymysql_connection() -> None:
9696
db = os.environ["MYSQL_DB"]
9797
ip_type = os.environ.get("IP_TYPE", "public")
9898

99+
if ip_type == "private":
100+
ip_type = "PSC"
101+
99102
engine, connector = create_sqlalchemy_engine(
100103
inst_conn_name, user, password, db, ip_type
101104
)

0 commit comments

Comments
 (0)