diff options
author | R David Murray <rdmurray@bitdance.com> | 2015-11-08 01:03:52 -0500 |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2015-11-08 01:03:52 -0500 |
commit | bc172c6113ee6eb50e2b386325b6aa04cebc37bd (patch) | |
tree | 0569f9df97be09c37f79c26f40632547c54543f7 /Python/Python-ast.c | |
parent | cc36c87fa6987001ef89a9af050392441702a228 (diff) | |
download | cpython-bc172c6113ee6eb50e2b386325b6aa04cebc37bd.tar.gz |
#25446: Fix regression in smtplib's AUTH LOGIN support.
The auth method tests simply weren't adequate because of the fact that
smtpd doesn't support authentication. I borrowed some of Milan's
code for that from issue #21935 and added it to the smtplib tests.
Also discovered that the direct test for the 'auth' method wasn't actually
testing anything and fixed it.
The fix makes the new authobject mechanism work the way it is
documented...the problem was that wasn't checking for a 334 return code
if an initial-response was provided, which works fine for auth plain
and cram-md5, but not for auth login.
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions