Skip to content

Commit b40f4b8

Browse files
vchavatapallijacalata
authored andcommitted
Added assertions for test cases
1 parent bc75250 commit b40f4b8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

test/test_datasource.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ def test_update_connections(self) -> None:
232232
updated_ids = [conn.id for conn in connection_items]
233233

234234
self.assertEqual(updated_ids, connection_luids)
235+
self.assertEqual("auth-keypair",connection_items[0].auth_type)
235236

236237
def test_populate_permissions(self) -> None:
237238
with open(asset(POPULATE_PERMISSIONS_XML), "rb") as f:

test/test_workbook.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,7 @@ def test_update_workbook_connections(self) -> None:
771771
updated_ids = [conn.id for conn in connection_items]
772772

773773
self.assertEqual(updated_ids, connection_luids)
774+
self.assertEqual("AD Service Principal", connection_items[0].auth_type)
774775

775776
def test_get_workbook_all_fields(self) -> None:
776777
self.server.version = "3.21"

0 commit comments

Comments
 (0)