mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-26 01:06:23 +02:00
chore: ran linting
This commit is contained in:
parent
a5bf3af4f8
commit
8c9440998a
5 changed files with 13 additions and 21 deletions
|
|
@ -77,19 +77,13 @@ def test_validate_memory_scope_allows_all_markers_in_user_scope() -> None:
|
|||
|
||||
|
||||
def test_validate_memory_scope_allows_any_heading_in_team() -> None:
|
||||
content = (
|
||||
"## Architecture\n"
|
||||
"- (2026-04-10) [fact] Uses PostgreSQL for persistence\n"
|
||||
)
|
||||
content = "## Architecture\n- (2026-04-10) [fact] Uses PostgreSQL for persistence\n"
|
||||
result = _validate_memory_scope(content, "team")
|
||||
assert result is None
|
||||
|
||||
|
||||
def test_validate_memory_scope_allows_any_heading_in_user() -> None:
|
||||
content = (
|
||||
"## My Projects\n"
|
||||
"- (2026-04-10) [fact] Working on SurfSense\n"
|
||||
)
|
||||
content = "## My Projects\n- (2026-04-10) [fact] Working on SurfSense\n"
|
||||
result = _validate_memory_scope(content, "user")
|
||||
assert result is None
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue