Remove integration markers from database tests
Removed @pytest.mark.integration from database tests to allow them to run while excluding API integration tests that call external services. Database tests (now run): - tests/test_edge_int.py - tests/test_graphiti_int.py - tests/test_node_int.py - tests/test_entity_exclusion_int.py - tests/cross_encoder/test_bge_reranker_client_int.py - tests/driver/test_falkordb_driver.py API integration tests (excluded): - 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
a5f26b6764
commit
47bd10bcf2
6 changed files with 0 additions and 11 deletions
|
|
@ -18,8 +18,6 @@ import pytest
|
|||
|
||||
from graphiti_core.cross_encoder.bge_reranker_client import BGERerankerClient
|
||||
|
||||
pytestmark = pytest.mark.integration
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def client():
|
||||
|
|
@ -27,7 +25,6 @@ def client():
|
|||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
@pytest.mark.integration
|
||||
async def test_rank_basic_functionality(client):
|
||||
query = 'What is the capital of France?'
|
||||
passages = [
|
||||
|
|
@ -56,7 +53,6 @@ async def test_rank_basic_functionality(client):
|
|||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
@pytest.mark.integration
|
||||
async def test_rank_empty_input(client):
|
||||
query = 'Empty test'
|
||||
passages = []
|
||||
|
|
@ -68,7 +64,6 @@ async def test_rank_empty_input(client):
|
|||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
@pytest.mark.integration
|
||||
async def test_rank_single_passage(client):
|
||||
query = 'Test query'
|
||||
passages = ['Single test passage']
|
||||
|
|
|
|||
|
|
@ -366,7 +366,6 @@ class TestDatetimeConversion:
|
|||
class TestFalkorDriverIntegration:
|
||||
"""Simple integration test for FalkorDB driver."""
|
||||
|
||||
@pytest.mark.integration
|
||||
@pytest.mark.asyncio
|
||||
@unittest.skipIf(not HAS_FALKORDB, 'FalkorDB is not installed')
|
||||
async def test_basic_integration_with_real_falkordb(self):
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ from graphiti_core.nodes import CommunityNode, EntityNode, EpisodeType, Episodic
|
|||
from tests.helpers_test import get_edge_count, get_node_count, group_id
|
||||
|
||||
pytest_plugins = ('pytest_asyncio',)
|
||||
pytestmark = pytest.mark.integration
|
||||
|
||||
|
||||
def setup_logging():
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@ 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,7 +25,6 @@ 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',)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -33,8 +33,6 @@ from tests.helpers_test import (
|
|||
group_id,
|
||||
)
|
||||
|
||||
pytestmark = pytest.mark.integration
|
||||
|
||||
created_at = datetime.now()
|
||||
deleted_at = created_at + timedelta(days=3)
|
||||
valid_at = created_at + timedelta(days=1)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue