Skip to content

Commit

Permalink
fix: improve a test
Browse files Browse the repository at this point in the history
  • Loading branch information
juancarlospaco committed Dec 11, 2024
1 parent 8a98fe4 commit 6ad88fd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/test_qdrant.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,11 @@ def test_client_is_good(qdrant_client: QdrantClient) -> None:
assert qdrant_client is not None


@pytest.mark.skip()
def test_client_count(qdrant_client: QdrantClient, qdrant_collection_name) -> None:
count_response = qdrant_client.count(collection_name=qdrant_collection_name)
assert count_response.count == 100


@pytest.mark.skip()
def test_qdrant_migrate(
qdrant_client: QdrantClient,
qdrant_collection_name: str,
Expand Down Expand Up @@ -61,7 +59,6 @@ def test_qdrant_migrate(
assert len(recs) == 100


@pytest.mark.skip()
def test_qdrant_migrate_bad_url(
qdrant_collection_name: str,
postgres_connection_string: str,
Expand All @@ -79,7 +76,7 @@ def test_qdrant_migrate_bad_url(
"qdrant",
"migrate",
qdrant_collection_name,
"", # Bad HTTP URL as intended.
"INVALID", # Bad HTTP URL as intended.
"", # no API key needed in :memory: mode
postgres_connection_string,
],
Expand Down

0 comments on commit 6ad88fd

Please sign in to comment.