wip: fixing more path resolution in tests
This commit is contained in:
@@ -34,7 +34,8 @@ history = []
|
||||
def app_instance(mock_config: Path, mock_project: Path, monkeypatch: pytest.MonkeyPatch) -> App:
|
||||
monkeypatch.setattr("src.models.CONFIG_PATH", mock_config)
|
||||
with patch("src.project_manager.load_project") as mock_load, \
|
||||
patch("src.session_logger.open_session"):
|
||||
patch("src.session_logger.open_session"), \
|
||||
patch("src.session_logger.reset_session"):
|
||||
mock_load.return_value = {
|
||||
"project": {"name": "test"},
|
||||
"discussion": {"roles": ["User", "AI"], "active": "main", "discussions": {"main": {"history": []}}},
|
||||
|
||||
Reference in New Issue
Block a user