Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/code_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,5 @@ jobs:
uses: pypa/gh-action-pip-audit@1220774d901786e6f652ae159f7b6bc8fea6d266
with:
virtual-environment: .venv/
ignore-vulns: |
GHSA-2qfp-q593-8484
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ dependencies = [

[dependency-groups]
dev = [
"aieng-platform-onboard>=0.3.2",
"codecov>=2.1.13",
"ipykernel>=6.29.5",
"ipython>=9.4.0",
Expand Down
23 changes: 16 additions & 7 deletions tests/tool_tests/test_integration.py
Original file line number Diff line number Diff line change
@@ -1,21 +1,30 @@
"""Test cases for Weaviate integration."""

import json
import sys
from pathlib import Path
from typing import AsyncGenerator

import pytest
import pytest_asyncio
from dotenv import load_dotenv
from langfuse import get_client
from openai import AsyncOpenAI

from src.utils import (
# Add project root to path to allow imports from src
project_root = Path(__file__).parent.parent.parent
sys.path.insert(0, str(project_root))

import pytest # noqa: E402
import pytest_asyncio # noqa: E402
from dotenv import load_dotenv # noqa: E402
from langfuse import get_client # noqa: E402
from openai import AsyncOpenAI # noqa: E402

from src.utils import ( # noqa: E402
AsyncWeaviateKnowledgeBase,
Configs,
get_weaviate_async_client,
pretty_print,
)
from src.utils.langfuse.otlp_env_setup import set_up_langfuse_otlp_env_vars
from src.utils.langfuse.otlp_env_setup import ( # noqa: E402
set_up_langfuse_otlp_env_vars,
)


load_dotenv(verbose=True)
Expand Down
Loading