fix: .gitignore에서 .agent/ 트래킹 + 테스트 절대경로 제거 (이식성 보장)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user