|
34 | 34 | class TestValues(TestCase): |
35 | 35 |
|
36 | 36 | def setUp(self): |
37 | | - with TypeDB.driver(TypeDB.DEFAULT_ADDRESS, Credentials("admin", "password"), DriverOptions()) as driver: |
| 37 | + with TypeDB.driver(TypeDB.DEFAULT_ADDRESS, Credentials("admin", "password"), DriverOptions(is_tls_enabled=False)) as driver: |
38 | 38 | if driver.databases.contains(TYPEDB): |
39 | 39 | driver.databases.get(TYPEDB).delete() |
40 | 40 | driver.databases.create(TYPEDB) |
@@ -67,7 +67,7 @@ def test_values(self): |
67 | 67 | "expiration": "P1Y10M7DT15H44M5.00394892S" |
68 | 68 | } |
69 | 69 |
|
70 | | - with (TypeDB.driver(TypeDB.DEFAULT_ADDRESS, Credentials("admin", "password"), DriverOptions()) as driver): |
| 70 | + with (TypeDB.driver(TypeDB.DEFAULT_ADDRESS, Credentials("admin", "password"), DriverOptions(is_tls_enabled=False)) as driver): |
71 | 71 | database = driver.databases.get(TYPEDB) |
72 | 72 |
|
73 | 73 | with driver.transaction(database.name, SCHEMA) as tx: |
@@ -184,7 +184,7 @@ def test_datetime(self): |
184 | 184 | Datetime.fromstring("2024-09-21", tz_name="Asia/Calcutta", datetime_fmt="%Y-%m-%d") |
185 | 185 | Datetime.fromstring("21/09/24 18:34", tz_name="Africa/Cairo", datetime_fmt="%d/%m/%y %H:%M") |
186 | 186 |
|
187 | | - with (TypeDB.driver(TypeDB.DEFAULT_ADDRESS, Credentials("admin", "password"), DriverOptions()) as driver): |
| 187 | + with (TypeDB.driver(TypeDB.DEFAULT_ADDRESS, Credentials("admin", "password"), DriverOptions(is_tls_enabled=False)) as driver): |
188 | 188 | database = driver.databases.get(TYPEDB) |
189 | 189 |
|
190 | 190 | with driver.transaction(database.name, SCHEMA) as tx: |
@@ -374,7 +374,7 @@ def test_duration(self): |
374 | 374 | Duration.fromstring("P1Y10M7DT15H44M5.00394892S") |
375 | 375 | Duration.fromstring("P55W") |
376 | 376 |
|
377 | | - with (TypeDB.driver(TypeDB.DEFAULT_ADDRESS, Credentials("admin", "password"), DriverOptions()) as driver): |
| 377 | + with (TypeDB.driver(TypeDB.DEFAULT_ADDRESS, Credentials("admin", "password"), DriverOptions(is_tls_enabled=False)) as driver): |
378 | 378 | database = driver.databases.get(TYPEDB) |
379 | 379 |
|
380 | 380 | with driver.transaction(database.name, SCHEMA) as tx: |
|
0 commit comments