mirror of
https://github.com/basicmachines-co/basic-memory
synced 2026-06-21 13:47:35 +00:00
9515130b2a
Signed-off-by: phernandez <paul@basicmachines.co> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
20 lines
546 B
Python
20 lines
546 B
Python
from basic_memory.mcp.prompts.ai_assistant_guide import ai_assistant_guide
|
|
|
|
|
|
import pytest
|
|
|
|
|
|
@pytest.mark.asyncio
|
|
async def test_ai_assistant_guide_exists(app):
|
|
"""Test that the canvas spec resource exists and returns content."""
|
|
# Call the resource function
|
|
guide = ai_assistant_guide()
|
|
|
|
# Verify basic characteristics of the content
|
|
assert guide is not None
|
|
assert isinstance(guide, str)
|
|
assert len(guide) > 0
|
|
|
|
# Verify it contains expected sections of the Canvas spec
|
|
assert "# AI Assistant Guide" in guide
|