Files
AutoMetabuilder/tests/test_main.py
johndoe6345789 998972d85b Introduce AutoMetabuilder core components and workflow packages:
- Implement core components: CLI argument parsing, environment loading, GitHub service creation, and logging configuration.
- Add support for OpenAI client setup and model resolution.
- Develop SDLC context loader from GitHub and repository files.
- Implement workflow context and engine builders.
- Introduce major workflow packages: `game_tick_loop` and `contextual_iterative_loop`.
- Update localization files with new package descriptions and labels.
- Streamline web navigation by loading items from a dedicated JSON file.
2026-01-09 22:08:48 +00:00

16 lines
440 B
Python

import os
import unittest
from autometabuilder.prompt_loader import load_prompt_yaml
class TestMain(unittest.TestCase):
def test_load_prompt_yaml(self):
# This test assumes prompt.yml exists in the root
if os.path.exists("prompt.yml"):
config = load_prompt_yaml()
self.assertIsInstance(config, dict)
self.assertIn("messages", config)
if __name__ == '__main__':
unittest.main()