Restore integration markers for tests that call LLM APIs
test_graphiti_int.py and test_entity_exclusion_int.py call graphiti.add_episode() and graphiti.search_() which require LLM API calls, so they are API integration tests, not pure database tests. Final categorization: Pure unit tests (no external dependencies): - tests/llm_client/test_*.py (except test_anthropic_client_int.py) - tests/embedder/test_*.py - tests/utils/maintenance/test_*.py (except test_temporal_operations_int.py) - tests/utils/search/search_utils_test.py - tests/test_text_utils.py Database tests (require Neo4j/FalkorDB, no API calls): - tests/test_graphiti_mock.py - tests/test_node_int.py - tests/test_edge_int.py - tests/cross_encoder/test_bge_reranker_client_int.py - tests/driver/test_falkordb_driver.py API integration tests (excluded via @pytest.mark.integration): - tests/test_graphiti_int.py - tests/test_entity_exclusion_int.py - tests/llm_client/test_anthropic_client_int.py - tests/utils/maintenance/test_temporal_operations_int.py 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
3ee062c71b
commit
56b10d8be5
3 changed files with 2 additions and 2 deletions
2
.github/workflows/unit_tests.yml
vendored
2
.github/workflows/unit_tests.yml
vendored
|
|
@ -93,10 +93,8 @@ jobs:
|
|||
run: |
|
||||
uv run pytest \
|
||||
tests/test_graphiti_mock.py \
|
||||
tests/test_graphiti_int.py \
|
||||
tests/test_node_int.py \
|
||||
tests/test_edge_int.py \
|
||||
tests/test_entity_exclusion_int.py \
|
||||
tests/cross_encoder/test_bge_reranker_client_int.py \
|
||||
tests/driver/test_falkordb_driver.py \
|
||||
-m "not integration"
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ from graphiti_core.graphiti import Graphiti
|
|||
from graphiti_core.helpers import validate_excluded_entity_types
|
||||
from tests.helpers_test import drivers, get_driver
|
||||
|
||||
pytestmark = pytest.mark.integration
|
||||
pytest_plugins = ('pytest_asyncio',)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ from graphiti_core.search.search_helpers import search_results_to_context_string
|
|||
from graphiti_core.utils.datetime_utils import utc_now
|
||||
from tests.helpers_test import GraphProvider
|
||||
|
||||
pytestmark = pytest.mark.integration
|
||||
pytest_plugins = ('pytest_asyncio',)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue