fix(tests): Add src. prefix to module imports
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
[ai]
|
[ai]
|
||||||
provider = "gemini_cli"
|
provider = "gemini"
|
||||||
model = "gemini-2.0-flash"
|
model = "gemini-2.5-flash-lite"
|
||||||
temperature = 0.0
|
temperature = 0.0
|
||||||
max_tokens = 8192
|
max_tokens = 8192
|
||||||
history_trunc_limit = 8000
|
history_trunc_limit = 8000
|
||||||
|
|||||||
@@ -8,5 +8,5 @@ active = "main"
|
|||||||
|
|
||||||
[discussions.main]
|
[discussions.main]
|
||||||
git_commit = ""
|
git_commit = ""
|
||||||
last_updated = "2026-03-05T14:42:31"
|
last_updated = "2026-03-05T16:40:05"
|
||||||
history = []
|
history = []
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import os
|
|||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
|
|
||||||
# This import is expected to fail with ImportError until log_registry.py is created.
|
# This import is expected to fail with ImportError until log_registry.py is created.
|
||||||
from log_registry import LogRegistry
|
from src.log_registry import LogRegistry
|
||||||
|
|
||||||
class TestLogRegistry(unittest.TestCase):
|
class TestLogRegistry(unittest.TestCase):
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ from typing import Any
|
|||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
import session_logger
|
import session_logger
|
||||||
from log_registry import LogRegistry
|
from src.log_registry import LogRegistry
|
||||||
from log_pruner import LogPruner
|
from log_pruner import LogPruner
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ import unittest
|
|||||||
from typing import Any
|
from typing import Any
|
||||||
from unittest.mock import patch
|
from unittest.mock import patch
|
||||||
import json
|
import json
|
||||||
import orchestrator_pm
|
from src import orchestrator_pm
|
||||||
import mma_prompts
|
from src import mma_prompts
|
||||||
|
|
||||||
class TestOrchestratorPM(unittest.TestCase):
|
class TestOrchestratorPM(unittest.TestCase):
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ from unittest.mock import patch, MagicMock
|
|||||||
import shutil
|
import shutil
|
||||||
import json
|
import json
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
import orchestrator_pm
|
from src import orchestrator_pm
|
||||||
|
|
||||||
class TestOrchestratorPMHistory(unittest.TestCase):
|
class TestOrchestratorPMHistory(unittest.TestCase):
|
||||||
def setUp(self) -> None:
|
def setUp(self) -> None:
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ from datetime import datetime
|
|||||||
# Import the real models
|
# Import the real models
|
||||||
from src.models import TrackState, Metadata, Ticket
|
from src.models import TrackState, Metadata, Ticket
|
||||||
# Import the persistence functions from project_manager
|
# Import the persistence functions from project_manager
|
||||||
from project_manager import save_track_state, load_track_state
|
from src.project_manager import save_track_state, load_track_state
|
||||||
|
|
||||||
def test_track_state_persistence(tmp_path) -> None:
|
def test_track_state_persistence(tmp_path) -> None:
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user