File size: 715 Bytes
fd1472e 627c291 fd1472e f295ef3 fd1472e 627c291 f295ef3 627c291 f295ef3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
"""Tests for hypothesis prompt domain support."""
from src.config.domain import SEXUAL_HEALTH_CONFIG, ResearchDomain
from src.prompts.hypothesis import get_system_prompt
class TestHypothesisPromptDomain:
def test_get_system_prompt_default(self):
prompt = get_system_prompt()
assert SEXUAL_HEALTH_CONFIG.name in prompt
assert "Your role is to generate evidence-based hypotheses" in prompt
def test_get_system_prompt_sexual_health(self):
prompt = get_system_prompt(ResearchDomain.SEXUAL_HEALTH)
assert SEXUAL_HEALTH_CONFIG.name in prompt
assert "sexual health" in prompt.lower()
assert "Your role is to generate evidence-based hypotheses" in prompt
|