Skip to content
Prev Previous commit
Next Next commit
Fixed index test
  • Loading branch information
annatisch committed Aug 28, 2019
commit 8c091d807a771c031b9cbc86c6f4eb157ccb9224
2 changes: 1 addition & 1 deletion sdk/cosmos/azure-cosmos/test/crud_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1946,7 +1946,7 @@ def __get_first(array):

root_included_path = __get_first([included_path for included_path in indexing_policy['includedPaths']
if included_path['path'] == '/*'])
self.assertFalse(root_included_path['indexes'])
self.assertFalse(root_included_path.get('indexes'))

def test_client_request_timeout(self):
connection_policy = documents.ConnectionPolicy()
Expand Down