forked from Rockachopa/Timmy-time-dashboard
feat: code quality audit + autoresearch integration + infra hardening (#150)
This commit is contained in:
committed by
GitHub
parent
fd0ede0d51
commit
ae3bb1cc21
@@ -43,6 +43,7 @@ def test_edit_fact(client):
|
||||
|
||||
# Extract a fact ID from the page (look for fact- pattern)
|
||||
import re
|
||||
|
||||
match = re.search(r'id="fact-([^"]+)"', page.text)
|
||||
if match:
|
||||
fact_id = match.group(1)
|
||||
@@ -61,6 +62,7 @@ def test_delete_fact(client):
|
||||
|
||||
page = client.get("/memory")
|
||||
import re
|
||||
|
||||
match = re.search(r'id="fact-([^"]+)"', page.text)
|
||||
if match:
|
||||
fact_id = match.group(1)
|
||||
|
||||
Reference in New Issue
Block a user