Skip to content

Commit

Permalink
Fix exception in mock test
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkkul committed Nov 25, 2024
1 parent 7a44a50 commit 24a56e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mock_tests/test_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ def test_grpc_retry_logic(
assert objs[0].properties["name"] == "test"
assert service.search_count == 2

with pytest.raises(grpc.aio.AioRpcError):
with pytest.raises(weaviate.exceptions.WeaviateTenantGetError):
# checks first call correctly handles error that isn't UNAVAILABLE
collection.tenants.get()

Expand Down

0 comments on commit 24a56e0

Please sign in to comment.