fix: .gitignore에서 .agent/ 트래킹 + 테스트 절대경로 제거 (이식성 보장)

This commit is contained in:
quantlab
2026-03-06 17:58:11 +09:00
parent b6ed432fe3
commit 5a931a5480
11 changed files with 425 additions and 7 deletions

View File

@@ -5,15 +5,18 @@ Tests against the variet-agent project itself.
import sys
import io
import os
if sys.stdout.encoding != "utf-8":
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding="utf-8", errors="replace")
sys.path.insert(0, r"C:\Users\CafeVariet-GL552VW\Desktop\source_diff\variet-agent")
# 프로젝트 루트를 동적으로 결정 (tests/ 상위 디렉토리)
PROJECT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert(0, PROJECT)
from core.project_indexer import ProjectIndex
from core.context_manager import ContextManager
PROJECT = r"C:\Users\CafeVariet-GL552VW\Desktop\source_diff\variet-agent"
def test_indexer():
print("=" * 60)