Create test_config.py to validate that all required keys exist across agent and task configurations:
test_config.py
1# test_config.py23from review_crew import agents_config, tasks_config
456deftest_every_agent_has_a_role_goal_and_backstory():7for name, agent in agents_config.items():8assert{"role","goal","backstory"}<= agent.keys(), name
91011deftest_every_task_has_a_description_and_expected_output():12for name, task in tasks_config.items():13assert{"description","expected_output"}<= task.keys(), name
These assertions evaluate in-memory dictionaries without making network requests or incurring LLM API costs.