11"""Integration tests for Obsidian-compatible YAML formatting in write_note tool."""
22
33import pytest
4- from pathlib import Path
54
65from basic_memory .mcp .tools import write_note
76
@@ -70,7 +69,7 @@ async def test_write_note_stringified_json_tags(app, project_config):
7069@pytest .mark .asyncio
7170async def test_write_note_single_tag_yaml_format (app , project_config ):
7271 """Test that single tags are still formatted as YAML lists."""
73- result = await write_note .fn (
72+ await write_note .fn (
7473 title = "Single Tag Test" ,
7574 folder = "test" ,
7675 content = "Testing single tag formatting" ,
@@ -88,7 +87,7 @@ async def test_write_note_single_tag_yaml_format(app, project_config):
8887@pytest .mark .asyncio
8988async def test_write_note_no_tags (app , project_config ):
9089 """Test that notes without tags work normally."""
91- result = await write_note .fn (
90+ await write_note .fn (
9291 title = "No Tags Test" ,
9392 folder = "test" ,
9493 content = "Testing note without tags" ,
@@ -106,7 +105,7 @@ async def test_write_note_no_tags(app, project_config):
106105@pytest .mark .asyncio
107106async def test_write_note_empty_tags_list (app , project_config ):
108107 """Test that empty tag lists are handled properly."""
109- result = await write_note .fn (
108+ await write_note .fn (
110109 title = "Empty Tags Test" ,
111110 folder = "test" ,
112111 content = "Testing empty tag list" ,
@@ -164,7 +163,7 @@ async def test_write_note_update_preserves_yaml_format(app, project_config):
164163@pytest .mark .asyncio
165164async def test_complex_tags_yaml_format (app , project_config ):
166165 """Test that complex tags with special characters format correctly."""
167- result = await write_note .fn (
166+ await write_note .fn (
168167 title = "Complex Tags Test" ,
169168 folder = "test" ,
170169 content = "Testing complex tag formats" ,
0 commit comments