Skip to content

test(prompts): add unit tests for YAML-sectioned prompt format (#4519)#4548

Merged
mrveiss merged 1 commit intoDev_new_guifrom
issue-4519
Apr 14, 2026
Merged

test(prompts): add unit tests for YAML-sectioned prompt format (#4519)#4548
mrveiss merged 1 commit intoDev_new_guifrom
issue-4519

Conversation

@mrveiss
Copy link
Copy Markdown
Owner

@mrveiss mrveiss commented Apr 14, 2026

Closes #4519

Summary

  • 30 tests in autobot-backend/tests/test_yaml_prompt_format.py
  • Covers section assembly order, file loading, YAML overrides, Jinja2 integration, malformed YAML, cache isolation

Test Status

✅ 30/30 passing

30 tests across 5 classes covering section assembly order, file loading
(valid, malformed, non-dict, empty, non-string values, .yml/.yaml
extensions, dot-notation keys), section overrides via get(), module-level
constants, and Jinja2 template rendering inside YAML sections.
@github-actions
Copy link
Copy Markdown

✅ SSOT Configuration Compliance: Passing

🎉 No hardcoded values detected that have SSOT config equivalents!

@mrveiss mrveiss merged commit 1fc41ba into Dev_new_gui Apr 14, 2026
3 of 4 checks passed
@mrveiss mrveiss deleted the issue-4519 branch April 14, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant