-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update integrations/astra/tests/test_document_store.py
Co-authored-by: Julian Risch <[email protected]>
- Loading branch information
1 parent
33405cd
commit 5ca2d52
Showing
3 changed files
with
13 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
# SPDX-FileCopyrightText: 2023-present Anant Corporation <[email protected]> | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
import os | ||
from typing import List | ||
|
||
import pytest | ||
|
@@ -11,6 +12,10 @@ | |
from astra_haystack.document_store import AstraDocumentStore | ||
|
||
|
||
@pytest.mark.skipif( | ||
os.environ.get("ASTRA_DB_APPLICATION_TOKEN", "") == "", reason="ASTRA_DB_APPLICATION_TOKEN is not set" | ||
) | ||
@pytest.mark.skipif(os.environ.get("ASTRA_DB_ID", "") == "", reason="ASTRA_DB_ID is not set") | ||
class TestDocumentStore(DocumentStoreBaseTests): | ||
""" | ||
Common test cases will be provided by `DocumentStoreBaseTests` but | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters