Skip to content

Commit

Permalink
Fix versions for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkkul committed Oct 8, 2024
1 parent a793194 commit 83f8b98
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions integration/test_collection_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,10 +343,12 @@ def test_collection_config_full(collection_factory: CollectionFactory) -> None:
assert config.replication_config.async_enabled is True
else:
assert config.replication_config.async_enabled is False
assert (
config.replication_config.object_deletion_conflict_resolution
== wvc.config.ObjectDeletionConflictResolution.PERMANENT_DELETION
)

if collection._connection._weaviate_version.is_at_least(1, 25, 18):
assert (
config.replication_config.object_deletion_conflict_resolution
== wvc.config.ObjectDeletionConflictResolution.PERMANENT_DELETION
)

assert isinstance(config.vector_index_config, _VectorIndexConfigHNSW)
assert isinstance(config.vector_index_config.quantizer, _PQConfig)
Expand Down

0 comments on commit 83f8b98

Please sign in to comment.