47 lines
1.4 KiB
Python
Raw Normal View History

from rp.commands.help_docs import (
get_agent_help,
get_background_help,
get_cache_help,
get_full_help,
get_knowledge_help,
get_workflow_help,
)
class TestHelpDocs:
def test_get_workflow_help(self):
result = get_workflow_help()
assert isinstance(result, str)
assert "WORKFLOWS" in result
assert "AUTOMATED TASK EXECUTION" in result
def test_get_agent_help(self):
result = get_agent_help()
assert isinstance(result, str)
assert "AGENTS" in result
assert "SPECIALIZED AI ASSISTANTS" in result
def test_get_knowledge_help(self):
result = get_knowledge_help()
assert isinstance(result, str)
assert "KNOWLEDGE BASE" in result
assert "PERSISTENT INFORMATION STORAGE" in result
def test_get_cache_help(self):
result = get_cache_help()
assert isinstance(result, str)
assert "CACHING SYSTEM" in result
assert "PERFORMANCE OPTIMIZATION" in result
def test_get_background_help(self):
result = get_background_help()
assert isinstance(result, str)
assert "BACKGROUND SESSIONS" in result
assert "CONCURRENT TASK EXECUTION" in result
def test_get_full_help(self):
result = get_full_help()
assert isinstance(result, str)
assert "R - PROFESSIONAL AI ASSISTANT" in result
assert "BASIC COMMANDS" in result