Skip to content

Commit 44e663b

Browse files
committed
Get python client up to date
1 parent a7515b1 commit 44e663b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

terminusdb_client/tests/integration_tests/test_schema.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def test_insert_cheuk(docker_url, test_schema):
103103
assert item["address_of"]["postal_code"] == "A12 345"
104104
assert item["address_of"]["street"] == "123 Abc Street"
105105
assert item["name"] == "Cheuk"
106-
assert item["age"] == "21"
106+
assert item["age"] == 21
107107
assert item["contact_number"] == "07777123456"
108108
assert item["managed_by"] == item["@id"]
109109
else:
@@ -185,7 +185,7 @@ def test_insert_cheuk_again(docker_url, test_schema):
185185
assert item["address_of"]["postal_code"] == "A12 345"
186186
assert item["address_of"]["street"] == "123 Abc Street"
187187
assert item["name"] == "Cheuk"
188-
assert item["age"] == "21"
188+
assert item["age"] == 21
189189
assert item["contact_number"] == "07777123456"
190190
assert item["managed_by"] == item["@id"]
191191
elif item.get("@type") == "Coordinate":

terminusdb_client/tests/test_Client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ def test_has_database(mocked_requests, mocked_requests2):
177177
f"http://localhost:6363/api/db/admin/{db_name}",
178178
auth=("admin", "root"),
179179
headers={"user-agent": f"terminusdb-client-python/{__version__}"},
180+
allow_redirects=True,
180181
)
181182

182183

0 commit comments

Comments
 (0)