We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c11192a commit d11353bCopy full SHA for d11353b
1 file changed
src/tests/test_post_office_smtp.py
@@ -15,7 +15,7 @@ class _InMemorySMTPHandler:
15
def __init__(self):
16
self.envelopes = []
17
18
- async def handle_data(self, server, session, envelope):
+ async def handle_DATA(self, server, session, envelope): # noqa: N802 the name is required by aiosmtpd
19
self.envelopes.append(envelope)
20
return "250 OK"
21
0 commit comments