DeepBoner / tests /unit /prompts /test_report_prompt_domain.py
VibecoderMcSwaggins's picture
feat: SPEC_10 - Domain-Agnostic Refactor + License Fix (#87)
fd1472e unverified
raw
history blame
668 Bytes
"""Tests for report prompt domain support."""
from src.config.domain import DRUG_REPURPOSING_CONFIG, GENERAL_CONFIG, ResearchDomain
from src.prompts.report import get_system_prompt
class TestReportPromptDomain:
def test_get_system_prompt_default(self):
prompt = get_system_prompt()
assert GENERAL_CONFIG.report_system_prompt in prompt
assert "Your role is to synthesize evidence" in prompt
def test_get_system_prompt_domain(self):
prompt = get_system_prompt(ResearchDomain.DRUG_REPURPOSING)
assert DRUG_REPURPOSING_CONFIG.report_system_prompt in prompt
assert "Your role is to synthesize evidence" in prompt