mirror of
https://github.com/basicmachines-co/basic-memory
synced 2026-06-21 13:47:35 +00:00
e6496df595
feat: Add multiple projects support feat: enhanced read_note for when initial result is not found fix: merge frontmatter when updating note fix: handle directory removed on sync watch
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
|