]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Test: Get the smtp test server using os.getenv() (#117979)
authorDiego Russo <diego.russo@arm.com>
Wed, 17 Apr 2024 13:31:48 +0000 (14:31 +0100)
committerGitHub <noreply@github.com>
Wed, 17 Apr 2024 13:31:48 +0000 (15:31 +0200)
commit8e36cb7bb2a6057445975d46169f23a719909917
tree6569e4c22af44f5a25fabc532e3148bac7ac40f7
parent75eed5b3734edb221cabb8322d8b8bdf9e3ee6b1
Test: Get the smtp test server using os.getenv() (#117979)

The smtp test server can be set via CPYTHON_TEST_SMTP_SERVER environment variable.
If not set, it uses the default value smtp.gmail.com
This is needed because the network I'm on filters access to
smtp.gmail.com resulting in a failing test.

Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
Lib/test/test_smtpnet.py