Fix plan: drop dead test helper in Task 8

This commit is contained in:
tlg
2026-07-09 10:00:47 +02:00
parent 69e908a6a5
commit 8a39b9aff4

View File

@@ -1652,21 +1652,6 @@ from projektmatch import ingest
from projektmatch.config import Cfg
def make_mailbox(mails):
"""mails: {uid: (subject, html)}"""
box = mock.Mock()
box.unchecked_uids.return_value = list(mails)
def fetch(uid):
subject, html = mails[uid]
msg = mock.Mock()
msg.__getitem__ = lambda self, k: subject
msg.get = lambda k, d=None: subject
box_html[uid] = html
return msg
box.fetch.side_effect = fetch
return box
PROJECT_HTML = ('<a href="https://www.freelancermap.de/nproj/1.html?x=1">'
'Projekt Eins</a>')