Skip to content
Closed
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
3 changes: 3 additions & 0 deletions tests/test_code_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@

PIPELINES_DIR = Path(__file__).parent.parent / "docs-agent-mcp" / "pipelines"
sys.path.insert(0, str(PIPELINES_DIR))
# utils.py lives in pipelines/utils/ since #249; the sibling directory of the
# same name shadows it as a namespace package unless it is on the path too.
sys.path.insert(0, str(PIPELINES_DIR / "utils"))

from code_utils import chunk_code_file, parse_json_file, parse_python_ast, parse_yaml_documents

Expand Down
3 changes: 3 additions & 0 deletions tests/test_issues_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@

PIPELINES_DIR = Path(__file__).parent.parent / "docs-agent-mcp" / "pipelines"
sys.path.insert(0, str(PIPELINES_DIR))
# utils.py lives in pipelines/utils/ since #249; the sibling directory of the
# same name shadows it as a namespace package unless it is on the path too.
sys.path.insert(0, str(PIPELINES_DIR / "utils"))

from issues_utils import (
build_issue_record,
Expand Down
3 changes: 3 additions & 0 deletions tests/test_pipeline_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
# Add pipelines directory to path
PIPELINES_DIR = Path(__file__).parent.parent / "docs-agent-mcp" / "pipelines"
sys.path.insert(0, str(PIPELINES_DIR))
# utils.py lives in pipelines/utils/ since #249; the sibling directory of the
# same name shadows it as a namespace package unless it is on the path too.
sys.path.insert(0, str(PIPELINES_DIR / "utils"))

from utils import clean_content, embed_texts, resolve_github_token, truncate_for_tei

Expand Down