Lines Matching full:auth
356 mech, auth = arg.split()
359 self.push('504 auth type unimplemented')
361 if mech == 'plain' and auth==sim_auth_credentials['plain']:
362 self.push('235 plain auth ok')
363 elif mech=='login' and auth==sim_auth_credentials['login']:
476 self.serv.add_feature("AUTH PLAIN")
479 expected_auth_ok = (235, b'plain auth ok')
482 # SimSMTPChannel doesn't fully support LOGIN or CRAM-MD5 auth because they
485 # which results in smtplib raising an auth error. Fortunately the error
491 self.serv.add_feature("AUTH LOGIN")
499 self.serv.add_feature("AUTH CRAM-MD5")
507 #TODO: add tests for correct AUTH method fallback now that the