Squash Odysseus development history

This commit is contained in:
pewdiepie-archdaemon
2026-09-11 06:04:19 +00:00
parent e5c99a5eee
commit 6ee6502010
2050 changed files with 538359 additions and 57745 deletions
@@ -0,0 +1,13 @@
from src.email_thread_parser import parse_thread
def test_parse_thread_ignores_non_string_bodies():
assert parse_thread(123, {"bad": True}) is None
assert parse_thread(["<blockquote>bad</blockquote>"], None) is None
def test_parse_thread_still_handles_plaintext_quotes():
turns = parse_thread(None, "hi\n\nOn Tue, Alice wrote:\n> older")
assert turns
assert turns[0]["level"] == 0