/usr/lib/python3.5/test/ssltests.py is in libpython3.5-testsuite 3.5.1-10.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | # Convenience test module to run all of the SSL-related tests in the
# standard library.
import sys
import subprocess
TESTS = ['test_asyncio', 'test_ftplib', 'test_hashlib', 'test_httplib',
'test_imaplib', 'test_nntplib', 'test_poplib', 'test_smtplib',
'test_smtpnet', 'test_urllib2_localnet', 'test_venv']
def run_regrtests(*extra_args):
args = [sys.executable, "-m", "test"]
if not extra_args:
args.append("-unetwork")
else:
args.extend(extra_args)
args.extend(TESTS)
result = subprocess.call(args)
sys.exit(result)
if __name__ == '__main__':
run_regrtests(*sys.argv[1:])
|