fix: update Python path in test to resolve ModuleNotFoundError

This commit is contained in:
Jon Michael Aanes (aider) 2025-04-13 16:55:09 +02:00
parent c9f99fbb05
commit 7853404308

View File

@ -3,7 +3,7 @@ import unittest
from pathlib import Path from pathlib import Path
# Add the aider_gitea module to the Python path # Add the aider_gitea module to the Python path
sys.path.append(str(Path(__file__).resolve().parent.parent / "aider_gitea")) sys.path.append(str(Path(__file__).resolve().parent.parent))
from aider_gitea.seen_issues_db import SeenIssuesDB from aider_gitea.seen_issues_db import SeenIssuesDB
class TestSeenIssuesDB(unittest.TestCase): class TestSeenIssuesDB(unittest.TestCase):