'Even if the Python SMTP server doesn\'t support authentication, the
login process starts and the appropriate exception is raised.'

def test_server_login(self):

    class CustomEmailBackend(smtp.EmailBackend, ):
        connection_class = FakeAUTHSMTPConnection
    backend = CustomEmailBackend(username='username', password='password')
    with self.assertRaises(SMTPAuthenticationError):
        with backend:
            pass
