Various stubtest fixes (#5230)

This commit is contained in:
hatal175
2021-04-18 19:30:00 +03:00
committed by GitHub
parent f44f38fda3
commit fbf21995e3
14 changed files with 46 additions and 46 deletions

View File

@@ -84,5 +84,21 @@ class SMTPServer(asyncore.dispatcher):
) -> Optional[str]: ...
class DebuggingServer(SMTPServer): ...
class PureProxy(SMTPServer): ...
class MailmanProxy(PureProxy): ...
class PureProxy(SMTPServer):
def process_message( # type: ignore
self,
peer: _Address,
mailfrom: str,
rcpttos: List[Text],
data: Union[bytes, str],
) -> Optional[str]: ...
class MailmanProxy(PureProxy):
def process_message( # type: ignore
self,
peer: _Address,
mailfrom: str,
rcpttos: List[Text],
data: Union[bytes, str],
) -> Optional[str]: ...