Skip to content

Commit 37ce781

Browse files
committed
fix test
1 parent 36f72a8 commit 37ce781

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

iotdb-client/client-py/tests/integration/sqlalchemy/test_dialect.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
from sqlalchemy.orm import Session
2424
from sqlalchemy.sql import text
2525
from tests.integration.iotdb_container import IoTDBContainer
26+
from urllib.parse import quote_plus as urlquote
2627

2728
final_flag = True
2829
failed_count = 0
@@ -43,10 +44,11 @@ def print_message(message):
4344

4445

4546
def test_dialect():
47+
password = urlquote("IoTDB@2017")
4648
with IoTDBContainer("iotdb:dev") as db:
4749
db: IoTDBContainer
4850
url = (
49-
"iotdb://root:root@"
51+
"iotdb://root:" + password + "@"
5052
+ db.get_container_host_ip()
5153
+ ":"
5254
+ db.get_exposed_port(6667)

0 commit comments

Comments
 (0)