Server IP : 103.191.208.50 / Your IP : 216.73.216.226 Web Server : LiteSpeed System : Linux orion.herosite.pro 4.18.0-553.53.1.lve.el8.x86_64 #1 SMP Wed May 28 17:01:02 UTC 2025 x86_64 User : celkcksm ( 1031) PHP Version : 5.6.40 Disable Function : show_source, system, shell_exec, passthru, exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/../opt/bitninja-python-dojo/embedded/lib/python3.9/test/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
# Convenience test module to run all of the OpenSSL-related tests in the # standard library. import ssl import sys import subprocess TESTS = [ 'test_asyncio', 'test_ensurepip.py', 'test_ftplib', 'test_hashlib', 'test_hmac', 'test_httplib', 'test_imaplib', 'test_nntplib', 'test_poplib', 'test_ssl', 'test_smtplib', 'test_smtpnet', 'test_urllib2_localnet', 'test_venv', 'test_xmlrpc' ] def run_regrtests(*extra_args): print(ssl.OPENSSL_VERSION) args = [ sys.executable, '-Werror', '-bb', # turn warnings into exceptions '-m', 'test', ] if not extra_args: args.extend([ '-r', # randomize '-w', # re-run failed tests with -v '-u', 'network', # use network '-u', 'urlfetch', # download test vectors '-j', '0' # use multiple CPUs ]) else: args.extend(extra_args) args.extend(TESTS) result = subprocess.call(args) sys.exit(result) if __name__ == '__main__': run_regrtests(*sys.argv[1:])