mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-25 19:15:18 +02:00
chore: ran linting
This commit is contained in:
parent
78a3c71bb5
commit
fe07de3f9c
7 changed files with 21 additions and 11 deletions
|
|
@ -88,7 +88,9 @@ async def test_save_memory_blocks_new_personal_heading_in_team_before_commit(
|
|||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_save_memory_allows_grandfathered_personal_heading_in_team(monkeypatch) -> None:
|
||||
async def test_save_memory_allows_grandfathered_personal_heading_in_team(
|
||||
monkeypatch,
|
||||
) -> None:
|
||||
content = "## Preferences\n- 2026-04-10: Prefers dark mode\n"
|
||||
target = type("Target", (), {"shared_memory_md": content})()
|
||||
session = _FakeSession()
|
||||
|
|
|
|||
|
|
@ -108,7 +108,9 @@ async def test_save_memory_rejects_long_no_heading_payload(monkeypatch) -> None:
|
|||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_save_memory_grandfathers_existing_team_personal_heading(monkeypatch) -> None:
|
||||
async def test_save_memory_grandfathers_existing_team_personal_heading(
|
||||
monkeypatch,
|
||||
) -> None:
|
||||
content = "## Preferences\n- 2026-05-19: Existing legacy heading\n"
|
||||
target = SimpleNamespace(shared_memory_md=content)
|
||||
session = _FakeSession()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue