AI-powered virtual executive team — a single coherent executive persona backed by 8 specialist agents (FastAPI + Next.js).
test(memory): keep the history notes test off the dev database (#564)
ladislav-urban9212c9412c59
diff --git a/packages/core/tests/unit/test_history_notes.py b/packages/core/tests/unit/test_history_notes.pyindex 06a3f327..60d86c01 100644--- a/packages/core/tests/unit/test_history_notes.py+++ b/packages/core/tests/unit/test_history_notes.py@@ -15,6 +15,7 @@ from openexecutive.audit.logger import AuditLoggerfrom openexecutive.memory import episodicfrom openexecutive.memory import history as hfrom openexecutive.memory import history_notes as hn+from openexecutive.people import store as people_storeWHEN = datetime(2026, 10, 1, 9, 0, tzinfo=UTC)BODY = (@@ -29,6 +30,11 @@ ALLOWED = "\n".join([BODY, "Dana Lee"])def db(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> Iterator[Path]:path = tmp_path / "episodic.db"monkeypatch.setattr(episodic, "DB_PATH", path)+ # The people store keeps its own DB_PATH. Unpatched, the audit row's+ # owner check (people_tools.audit_row_owner -> find_principal_person)+ # reads ./episodic_memory.db, a dev database when one is there, and its+ # principal changes what this test sees.+ monkeypatch.setattr(people_store, "DB_PATH", path)episodic.initialize_db(path)monkeypatch.setattr(audit_logger, "_default_logger", AuditLogger(db_path=path))yield path