Files
shirobana-bot/tests/test_akaros_persona.py
RRRosmontis 34089d0042 Initial import of Shirobana bot backend
Include utility modules, shared channels, prompts, read-only skills, wardrobe memory and regression tests. Externalize legacy credentials and exclude private runtime state.
2026-11-11 00:25:30 +08:00

23 lines
727 B
Python

"""Akaros mailbox is a personal asset available without keyword activation."""
from pathlib import Path
import sys
import unittest
BASE = Path(__file__).resolve().parents[1]
sys.path[:0] = [str(BASE / "bot-utility"), str(BASE)]
from chat import engine
class AkarosPersonaTests(unittest.TestCase):
def test_mailbox_is_personal_asset_with_autonomous_tool_selection(self):
self.assertIn("shirobana@akaros.si", engine.BASE_PROMPT)
self.assertIn("个人资产", engine.BASE_PROMPT)
self.assertIn("不要求用户特别指定服务名", engine.BASE_PROMPT)
self.assertIn("不得在没有明确任务或合理上下文时", engine.BASE_PROMPT)
if __name__ == "__main__":
unittest.main()