components/python/pyopenssl/test/results-all.master
changeset 7599 c61ba9155a6a
parent 7598 d30cc5fc0cf0
child 7600 b08206e584c3
equal deleted inserted replaced
7598:d30cc5fc0cf0 7599:c61ba9155a6a
     1 . lib/OpenSSL/SSL.py::pep8
       
     2 . lib/OpenSSL/SSL.py::pyflakes
       
     3 . lib/OpenSSL/__init__.py::pep8
       
     4 . lib/OpenSSL/__init__.py::pyflakes
       
     5 . lib/OpenSSL/_util.py::pep8
       
     6 . lib/OpenSSL/_util.py::pyflakes
       
     7 . lib/OpenSSL/crypto.py::pep8
       
     8 . lib/OpenSSL/crypto.py::pyflakes
       
     9 . lib/OpenSSL/rand.py::pep8
       
    10 . lib/OpenSSL/rand.py::pyflakes
       
    11 . lib/OpenSSL/tsafe.py::pep8
       
    12 . lib/OpenSSL/tsafe.py::pyflakes
       
    13 . lib/OpenSSL/version.py::pep8
       
    14 . lib/OpenSSL/version.py::pyflakes
       
    15 . tests/__init__.py::pep8
       
    16 . tests/__init__.py::pyflakes
       
    17 . tests/conftest.py::pep8
       
    18 . tests/conftest.py::pyflakes
       
    19 . tests/memdbg.py::pep8
       
    20 . tests/memdbg.py::pyflakes
       
    21 . tests/test_crypto.py::pep8
       
    22 . tests/test_crypto.py::pyflakes
       
    23 . tests/test_crypto.py::X509ExtTests::test_construction
       
    24 . tests/test_crypto.py::X509ExtTests::test_get_critical
       
    25 . tests/test_crypto.py::X509ExtTests::test_get_data
       
    26 . tests/test_crypto.py::X509ExtTests::test_get_data_wrong_args
       
    27 . tests/test_crypto.py::X509ExtTests::test_get_short_name
       
    28 . tests/test_crypto.py::X509ExtTests::test_invalid_extension
       
    29 . tests/test_crypto.py::X509ExtTests::test_invalid_issuer
       
    30 . tests/test_crypto.py::X509ExtTests::test_invalid_subject
       
    31 . tests/test_crypto.py::X509ExtTests::test_issuer
       
    32 . tests/test_crypto.py::X509ExtTests::test_missing_issuer
       
    33 . tests/test_crypto.py::X509ExtTests::test_missing_subject
       
    34 . tests/test_crypto.py::X509ExtTests::test_str
       
    35 . tests/test_crypto.py::X509ExtTests::test_subject
       
    36 . tests/test_crypto.py::X509ExtTests::test_type
       
    37 . tests/test_crypto.py::X509ExtTests::test_unused_issuer
       
    38 . tests/test_crypto.py::X509ExtTests::test_unused_subject
       
    39 . tests/test_crypto.py::TestPKey::()::test_convert_from_cryptography_private_key
       
    40 . tests/test_crypto.py::TestPKey::()::test_convert_from_cryptography_public_key
       
    41 . tests/test_crypto.py::TestPKey::()::test_convert_from_cryptography_unsupported_type
       
    42 . tests/test_crypto.py::TestPKey::()::test_convert_public_pkey_to_cryptography_key
       
    43 . tests/test_crypto.py::TestPKey::()::test_convert_private_pkey_to_cryptography_key
       
    44 . tests/test_crypto.py::PKeyTests::test_check_public_key
       
    45 . tests/test_crypto.py::PKeyTests::test_check_wrong_args
       
    46 . tests/test_crypto.py::PKeyTests::test_construction
       
    47 . tests/test_crypto.py::PKeyTests::test_dsaGeneration
       
    48 . tests/test_crypto.py::PKeyTests::test_failedGeneration
       
    49 . tests/test_crypto.py::PKeyTests::test_inconsistentKey
       
    50 . tests/test_crypto.py::PKeyTests::test_pregeneration
       
    51 . tests/test_crypto.py::PKeyTests::test_regeneration
       
    52 . tests/test_crypto.py::PKeyTests::test_rsaGeneration
       
    53 . tests/test_crypto.py::PKeyTests::test_type
       
    54 . tests/test_crypto.py::X509NameTests::test_attributes
       
    55 . tests/test_crypto.py::X509NameTests::test_comparison
       
    56 . tests/test_crypto.py::X509NameTests::test_copy
       
    57 . tests/test_crypto.py::X509NameTests::test_der
       
    58 . tests/test_crypto.py::X509NameTests::test_get_components
       
    59 . tests/test_crypto.py::X509NameTests::test_hash
       
    60 . tests/test_crypto.py::X509NameTests::test_load_nul_byte_attribute
       
    61 . tests/test_crypto.py::X509NameTests::test_onlyStringAttributes
       
    62 . tests/test_crypto.py::X509NameTests::test_repr
       
    63 . tests/test_crypto.py::X509NameTests::test_setAttributeFailure
       
    64 . tests/test_crypto.py::X509NameTests::test_setInvalidAttribute
       
    65 . tests/test_crypto.py::X509NameTests::test_type
       
    66 . tests/test_crypto.py::X509ReqTests::test_add_extensions
       
    67 . tests/test_crypto.py::X509ReqTests::test_add_extensions_wrong_args
       
    68 . tests/test_crypto.py::X509ReqTests::test_construction
       
    69 . tests/test_crypto.py::X509ReqTests::test_get_extensions
       
    70 . tests/test_crypto.py::X509ReqTests::test_get_subject
       
    71 . tests/test_crypto.py::X509ReqTests::test_get_subject_wrong_args
       
    72 . tests/test_crypto.py::X509ReqTests::test_sign
       
    73 . tests/test_crypto.py::X509ReqTests::test_signWithPublicKey
       
    74 . tests/test_crypto.py::X509ReqTests::test_signWithUngenerated
       
    75 . tests/test_crypto.py::X509ReqTests::test_signWithUnknownDigest
       
    76 . tests/test_crypto.py::X509ReqTests::test_type
       
    77 . tests/test_crypto.py::X509ReqTests::test_verify_success
       
    78 . tests/test_crypto.py::X509ReqTests::test_verify_uninitialized_key
       
    79 . tests/test_crypto.py::X509ReqTests::test_verify_wrong_args
       
    80 . tests/test_crypto.py::X509ReqTests::test_verify_wrong_key
       
    81 . tests/test_crypto.py::X509ReqTests::test_version
       
    82 . tests/test_crypto.py::X509ReqTests::test_version_wrong_args
       
    83 . tests/test_crypto.py::X509Tests::test_construction
       
    84 . tests/test_crypto.py::X509Tests::test_digest
       
    85 . tests/test_crypto.py::X509Tests::test_extension_count
       
    86 . tests/test_crypto.py::X509Tests::test_get_extension
       
    87 . tests/test_crypto.py::X509Tests::test_get_issuer
       
    88 . tests/test_crypto.py::X509Tests::test_get_issuer_wrong_args
       
    89 . tests/test_crypto.py::X509Tests::test_get_notAfter
       
    90 . tests/test_crypto.py::X509Tests::test_get_notBefore
       
    91 . tests/test_crypto.py::X509Tests::test_get_pubkey_uninitialized
       
    92 . tests/test_crypto.py::X509Tests::test_get_serial_number_wrong_args
       
    93 . tests/test_crypto.py::X509Tests::test_get_signature_algorithm
       
    94 . tests/test_crypto.py::X509Tests::test_get_subject
       
    95 . tests/test_crypto.py::X509Tests::test_get_subject_wrong_args
       
    96 . tests/test_crypto.py::X509Tests::test_get_undefined_signature_algorithm
       
    97 . tests/test_crypto.py::X509Tests::test_get_version_wrong_args
       
    98 . tests/test_crypto.py::X509Tests::test_gmtime_adj_notAfter
       
    99 . tests/test_crypto.py::X509Tests::test_gmtime_adj_notAfter_wrong_args
       
   100 . tests/test_crypto.py::X509Tests::test_gmtime_adj_notBefore
       
   101 . tests/test_crypto.py::X509Tests::test_gmtime_adj_notBefore_wrong_args
       
   102 . tests/test_crypto.py::X509Tests::test_has_expired
       
   103 . tests/test_crypto.py::X509Tests::test_has_expired_wrong_args
       
   104 . tests/test_crypto.py::X509Tests::test_has_not_expired
       
   105 . tests/test_crypto.py::X509Tests::test_invalid_digest_algorithm
       
   106 . tests/test_crypto.py::X509Tests::test_nullbyte_subjectAltName
       
   107 . tests/test_crypto.py::X509Tests::test_root_has_not_expired
       
   108 . tests/test_crypto.py::X509Tests::test_serial_number
       
   109 . tests/test_crypto.py::X509Tests::test_set_issuer
       
   110 . tests/test_crypto.py::X509Tests::test_set_issuer_wrong_args
       
   111 . tests/test_crypto.py::X509Tests::test_set_notAfter
       
   112 . tests/test_crypto.py::X509Tests::test_set_notBefore
       
   113 . tests/test_crypto.py::X509Tests::test_set_pubkey_wrong_type
       
   114 . tests/test_crypto.py::X509Tests::test_set_subject
       
   115 . tests/test_crypto.py::X509Tests::test_set_subject_wrong_args
       
   116 . tests/test_crypto.py::X509Tests::test_set_version_wrong_args
       
   117 . tests/test_crypto.py::X509Tests::test_sign
       
   118 . tests/test_crypto.py::X509Tests::test_signWithPublicKey
       
   119 . tests/test_crypto.py::X509Tests::test_signWithUngenerated
       
   120 . tests/test_crypto.py::X509Tests::test_signWithUnknownDigest
       
   121 . tests/test_crypto.py::X509Tests::test_sign_bad_pubkey_type
       
   122 . tests/test_crypto.py::X509Tests::test_subject_name_hash
       
   123 . tests/test_crypto.py::X509Tests::test_subject_name_hash_wrong_args
       
   124 . tests/test_crypto.py::X509Tests::test_type
       
   125 . tests/test_crypto.py::X509Tests::test_version
       
   126 . tests/test_crypto.py::X509StoreTests::test_add_cert
       
   127 . tests/test_crypto.py::X509StoreTests::test_add_cert_rejects_duplicate
       
   128 . tests/test_crypto.py::X509StoreTests::test_add_cert_wrong_args
       
   129 . tests/test_crypto.py::X509StoreTests::test_type
       
   130 . tests/test_crypto.py::PKCS12Tests::test_cert_only
       
   131 . tests/test_crypto.py::PKCS12Tests::test_empty_construction
       
   132 . tests/test_crypto.py::PKCS12Tests::test_export_without_args
       
   133 . tests/test_crypto.py::PKCS12Tests::test_export_without_bytes
       
   134 . tests/test_crypto.py::PKCS12Tests::test_export_without_mac
       
   135 . tests/test_crypto.py::PKCS12Tests::test_friendly_name
       
   136 . tests/test_crypto.py::PKCS12Tests::test_key_cert_mismatch
       
   137 . tests/test_crypto.py::PKCS12Tests::test_key_only
       
   138 . tests/test_crypto.py::PKCS12Tests::test_load_pkcs12
       
   139 . tests/test_crypto.py::PKCS12Tests::test_load_pkcs12_empty_passphrase_load_empty
       
   140 . tests/test_crypto.py::PKCS12Tests::test_load_pkcs12_empty_passphrase_load_null
       
   141 . tests/test_crypto.py::PKCS12Tests::test_load_pkcs12_garbage
       
   142 . tests/test_crypto.py::PKCS12Tests::test_load_pkcs12_no_passphrase
       
   143 . tests/test_crypto.py::PKCS12Tests::test_load_pkcs12_null_passphrase_load_empty
       
   144 . tests/test_crypto.py::PKCS12Tests::test_load_pkcs12_null_passphrase_load_null
       
   145 . tests/test_crypto.py::PKCS12Tests::test_load_pkcs12_text_passphrase
       
   146 . tests/test_crypto.py::PKCS12Tests::test_load_without_mac
       
   147 . tests/test_crypto.py::PKCS12Tests::test_removing_ca_cert
       
   148 . tests/test_crypto.py::PKCS12Tests::test_replace
       
   149 . tests/test_crypto.py::PKCS12Tests::test_type
       
   150 . tests/test_crypto.py::PKCS12Tests::test_type_errors
       
   151 . tests/test_crypto.py::PKCS12Tests::test_various_empty_passphrases
       
   152 . tests/test_crypto.py::PKCS12Tests::test_zero_len_list_for_ca
       
   153 . tests/test_crypto.py::TestLoadPublicKey::()::test_loading_works
       
   154 . tests/test_crypto.py::TestLoadPublicKey::()::test_invalid_type
       
   155 . tests/test_crypto.py::TestLoadPublicKey::()::test_invalid_key_format
       
   156 . tests/test_crypto.py::TestLoadPublicKey::()::test_tolerates_unicode_strings
       
   157 F tests/test_crypto.py::FunctionTests::test_dump_certificate
       
   158  self = <tests.test_crypto.FunctionTests testMethod=test_dump_certificate>
       
   159  
       
   160      def test_dump_certificate(self):
       
   161          """
       
   162              :py:obj:`dump_certificate` writes PEM, DER, and text.
       
   163              """
       
   164          pemData = cleartextCertificatePEM + cleartextPrivateKeyPEM
       
   165          cert = load_certificate(FILETYPE_PEM, pemData)
       
   166          dumped_pem = dump_certificate(FILETYPE_PEM, cert)
       
   167          self.assertEqual(dumped_pem, cleartextCertificatePEM)
       
   168          dumped_der = dump_certificate(FILETYPE_ASN1, cert)
       
   169          good_der = _runopenssl(dumped_pem, b"x509", b"-outform", b"DER")
       
   170          self.assertEqual(dumped_der, good_der)
       
   171          cert2 = load_certificate(FILETYPE_ASN1, dumped_der)
       
   172          dumped_pem2 = dump_certificate(FILETYPE_PEM, cert2)
       
   173          self.assertEqual(dumped_pem2, cleartextCertificatePEM)
       
   174          dumped_text = dump_certificate(FILETYPE_TEXT, cert)
       
   175          good_text = _runopenssl(
       
   176              dumped_pem, b"x509", b"-noout", b"-text", b"-nameopt", b"")
       
   177  >       self.assertEqual(dumped_text, good_text)
       
   178  E       AssertionError: 'Certificate:\n    Data:\n        Version: 3 (0x2)\n        Serial Number:\n            3d:0c:c4:e0:c6:de:b9:f4\n    Signature Algorithm: sha1WithRSAEncryption\n        Issuer: C=US, ST=IL, L=Chicago, O=Testing, CN=Testing Root CA\n        Validity\n            Not Before: Mar 25 12:36:58 2009 GMT\n            Not After : Jun 11 12:36:58 2017 GMT\n        Subject: C=US, ST=IL, L=Chicago, O=Testing, CN=Testing Root CA\n        Subject Public Key Info:\n            Public Key Algorithm: rsaEncryption\n                Public-Key: (1024 bit)\n                Modulus:\n                    00:f9:9a:42:e9:8b:ba:ba:44:e7:6e:ee:48:41:dd:\n                    2f:5a:6a:70:34:66:5b:3b:be:f7:c6:3a:60:7c:d3:\n                    fc:9e:ca:58:46:a6:c8:c0:8d:67:a7:d1:5b:52:42:\n                    47:bf:36:51:0f:1a:d3:b7:f2:db:15:ec:2b:2e:16:\n                    74:a6:b1:c8:6f:02:71:ab:70:99:7b:e9:bd:14:38:\n                    e1:d4:80:34:c8:a1:1c:42:e9:00:d4:dd:c9:5a:7a:\n                    0c:2c:ac:10:3e:b0:91:01:6e:ac:79:45:d5:db:21:\n                    11:a2:70:f1:bf:f2:a4:38:66:6d:52:28:e8:28:b5:\n                    c6:f0:89:aa:2b:db:2c:59:db\n                Exponent: 65537 (0x10001)\n        X509v3 extensions:\n            X509v3 Subject Key Identifier: \n                83:55:77:2D:5E:21:F1:49:0C:09:24:E7:54:09:12:8D:C8:7E:04:AE\n            X509v3 Authority Key Identifier: \n                keyid:83:55:77:2D:5E:21:F1:49:0C:09:24:E7:54:09:12:8D:C8:7E:04:AE\n                DirName:/C=US/ST=IL/L=Chicago/O=Testing/CN=Testing Root CA\n                serial:3D:0C:C4:E0:C6:DE:B9:F4\n\n            X509v3 Basic Constraints: \n                CA:TRUE\n    Signature Algorithm: sha1WithRSAEncryption\n         61:82:0d:ac:cc:24:6a:16:34:1a:5c:d3:7b:ba:fa:c9:9c:f7:\n         97:44:79:a7:76:2a:56:57:04:04:ce:74:54:f5:55:eb:18:df:\n         e9:d4:3a:a6:61:12:14:c6:94:33:22:86:48:1a:66:7c:e8:22:\n         af:d4:6a:68:9d:7a:09:38:86:2a:ec:09:3f:d1:fb:ab:ec:28:\n         00:31:35:37:01:8d:47:99:8e:5c:a4:08:95:b2:e6:88:d2:84:\n         67:ed:5c:82:98:c3:f9:e3:55:b2:8c:5e:bb:dc:f3:7a:a6:4d:\n         d1:a5:dd:30:0c:d1:fc:50:22:9a:a0:72:09:45:2e:f7:84:06:\n         0c:e7\n' != 'Certificate:\n    Data:\n        Version: 3 (0x2)\n        Serial Number: 4399107405722335732 (0x3d0cc4e0c6deb9f4)\n    Signature Algorithm: sha1WithRSAEncryption\n        Issuer: C=US, ST=IL, L=Chicago, O=Testing, CN=Testing Root CA\n        Validity\n            Not Before: Mar 25 12:36:58 2009 GMT\n            Not After : Jun 11 12:36:58 2017 GMT\n        Subject: C=US, ST=IL, L=Chicago, O=Testing, CN=Testing Root CA\n        Subject Public Key Info:\n            Public Key Algorithm: rsaEncryption\n                Public-Key: (1024 bit)\n                Modulus:\n                    00:f9:9a:42:e9:8b:ba:ba:44:e7:6e:ee:48:41:dd:\n                    2f:5a:6a:70:34:66:5b:3b:be:f7:c6:3a:60:7c:d3:\n                    fc:9e:ca:58:46:a6:c8:c0:8d:67:a7:d1:5b:52:42:\n                    47:bf:36:51:0f:1a:d3:b7:f2:db:15:ec:2b:2e:16:\n                    74:a6:b1:c8:6f:02:71:ab:70:99:7b:e9:bd:14:38:\n                    e1:d4:80:34:c8:a1:1c:42:e9:00:d4:dd:c9:5a:7a:\n                    0c:2c:ac:10:3e:b0:91:01:6e:ac:79:45:d5:db:21:\n                    11:a2:70:f1:bf:f2:a4:38:66:6d:52:28:e8:28:b5:\n                    c6:f0:89:aa:2b:db:2c:59:db\n                Exponent: 65537 (0x10001)\n        X509v3 extensions:\n            X509v3 Subject Key Identifier: \n                83:55:77:2D:5E:21:F1:49:0C:09:24:E7:54:09:12:8D:C8:7E:04:AE\n            X509v3 Authority Key Identifier: \n                keyid:83:55:77:2D:5E:21:F1:49:0C:09:24:E7:54:09:12:8D:C8:7E:04:AE\n                DirName:/C=US/ST=IL/L=Chicago/O=Testing/CN=Testing Root CA\n                serial:3D:0C:C4:E0:C6:DE:B9:F4\n\n            X509v3 Basic Constraints: \n                CA:TRUE\n    Signature Algorithm: sha1WithRSAEncryption\n         61:82:0d:ac:cc:24:6a:16:34:1a:5c:d3:7b:ba:fa:c9:9c:f7:\n         97:44:79:a7:76:2a:56:57:04:04:ce:74:54:f5:55:eb:18:df:\n         e9:d4:3a:a6:61:12:14:c6:94:33:22:86:48:1a:66:7c:e8:22:\n         af:d4:6a:68:9d:7a:09:38:86:2a:ec:09:3f:d1:fb:ab:ec:28:\n         00:31:35:37:01:8d:47:99:8e:5c:a4:08:95:b2:e6:88:d2:84:\n         67:ed:5c:82:98:c3:f9:e3:55:b2:8c:5e:bb:dc:f3:7a:a6:4d:\n         d1:a5:dd:30:0c:d1:fc:50:22:9a:a0:72:09:45:2e:f7:84:06:\n         0c:e7\n'
       
   179  
       
   180  tests/test_crypto.py:2781: AssertionError
       
   181 . tests/test_crypto.py::FunctionTests::test_dump_certificate_bad_type
       
   182 . tests/test_crypto.py::FunctionTests::test_dump_certificate_request
       
   183 . tests/test_crypto.py::FunctionTests::test_dump_privatekey_asn1
       
   184 . tests/test_crypto.py::FunctionTests::test_dump_privatekey_invalid_filetype
       
   185 . tests/test_crypto.py::FunctionTests::test_dump_privatekey_invalid_passphrase_type
       
   186 . tests/test_crypto.py::FunctionTests::test_dump_privatekey_passphrase
       
   187 . tests/test_crypto.py::FunctionTests::test_dump_privatekey_passphraseCallback
       
   188 . tests/test_crypto.py::FunctionTests::test_dump_privatekey_passphraseCallbackLength
       
   189 . tests/test_crypto.py::FunctionTests::test_dump_privatekey_passphraseWrongType
       
   190 . tests/test_crypto.py::FunctionTests::test_dump_privatekey_passphrase_exception
       
   191 . tests/test_crypto.py::FunctionTests::test_dump_privatekey_pem
       
   192 . tests/test_crypto.py::FunctionTests::test_dump_privatekey_text
       
   193 . tests/test_crypto.py::FunctionTests::test_dump_privatekey_unknown_cipher
       
   194 . tests/test_crypto.py::FunctionTests::test_dump_privatekey_wrong_args
       
   195 . tests/test_crypto.py::FunctionTests::test_dump_publickey_asn1
       
   196 . tests/test_crypto.py::FunctionTests::test_dump_publickey_invalid_type
       
   197 . tests/test_crypto.py::FunctionTests::test_dump_publickey_pem
       
   198 . tests/test_crypto.py::FunctionTests::test_load_pkcs7_data_asn1
       
   199 . tests/test_crypto.py::FunctionTests::test_load_pkcs7_data_invalid
       
   200 . tests/test_crypto.py::FunctionTests::test_load_pkcs7_data_pem
       
   201 . tests/test_crypto.py::FunctionTests::test_load_pkcs7_type_invalid
       
   202 . tests/test_crypto.py::FunctionTests::test_load_privatekey_invalid_format
       
   203 . tests/test_crypto.py::FunctionTests::test_load_privatekey_invalid_passphrase_type
       
   204 . tests/test_crypto.py::FunctionTests::test_load_privatekey_passphrase
       
   205 . tests/test_crypto.py::FunctionTests::test_load_privatekey_passphraseCallback
       
   206 . tests/test_crypto.py::FunctionTests::test_load_privatekey_passphraseCallbackLength
       
   207 . tests/test_crypto.py::FunctionTests::test_load_privatekey_passphraseWrongType
       
   208 . tests/test_crypto.py::FunctionTests::test_load_privatekey_passphrase_exception
       
   209 . tests/test_crypto.py::FunctionTests::test_load_privatekey_passphrase_wrong_return_type
       
   210 . tests/test_crypto.py::FunctionTests::test_load_privatekey_wrongPassphrase
       
   211 . tests/test_crypto.py::FunctionTests::test_load_privatekey_wrongPassphraseCallback
       
   212 . tests/test_crypto.py::FunctionTests::test_load_privatekey_wrong_args
       
   213 . tests/test_crypto.py::LoadCertificateTests::test_badFileType
       
   214 . tests/test_crypto.py::LoadCertificateTests::test_bad_certificate
       
   215 . tests/test_crypto.py::PKCS7Tests::test_attribute
       
   216 . tests/test_crypto.py::PKCS7Tests::test_get_type_name
       
   217 . tests/test_crypto.py::PKCS7Tests::test_get_type_name_wrong_args
       
   218 . tests/test_crypto.py::PKCS7Tests::test_type
       
   219 . tests/test_crypto.py::PKCS7Tests::test_type_is_data
       
   220 . tests/test_crypto.py::PKCS7Tests::test_type_is_data_wrong_args
       
   221 . tests/test_crypto.py::PKCS7Tests::test_type_is_enveloped
       
   222 . tests/test_crypto.py::PKCS7Tests::test_type_is_enveloped_wrong_args
       
   223 . tests/test_crypto.py::PKCS7Tests::test_type_is_signed
       
   224 . tests/test_crypto.py::PKCS7Tests::test_type_is_signedAndEnveloped
       
   225 . tests/test_crypto.py::PKCS7Tests::test_type_is_signedAndEnveloped_wrong_args
       
   226 . tests/test_crypto.py::PKCS7Tests::test_type_is_signed_wrong_args
       
   227 . tests/test_crypto.py::NetscapeSPKITests::test_b64_encode
       
   228 . tests/test_crypto.py::NetscapeSPKITests::test_construction
       
   229 . tests/test_crypto.py::NetscapeSPKITests::test_invalid_attribute
       
   230 . tests/test_crypto.py::NetscapeSPKITests::test_sign
       
   231 . tests/test_crypto.py::NetscapeSPKITests::test_signWithPublicKey
       
   232 . tests/test_crypto.py::NetscapeSPKITests::test_signWithUngenerated
       
   233 . tests/test_crypto.py::NetscapeSPKITests::test_signWithUnknownDigest
       
   234 . tests/test_crypto.py::NetscapeSPKITests::test_type
       
   235 . tests/test_crypto.py::TestRevoked::()::test_ignores_unsupported_revoked_cert_extension_get_reason
       
   236 . tests/test_crypto.py::TestRevoked::()::test_ignores_unsupported_revoked_cert_extension_set_new_reason
       
   237 . tests/test_crypto.py::RevokedTests::test_construction
       
   238 . tests/test_crypto.py::RevokedTests::test_construction_wrong_args
       
   239 . tests/test_crypto.py::RevokedTests::test_date
       
   240 . tests/test_crypto.py::RevokedTests::test_get_reason_wrong_arguments
       
   241 . tests/test_crypto.py::RevokedTests::test_reason
       
   242 . tests/test_crypto.py::RevokedTests::test_serial
       
   243 . tests/test_crypto.py::RevokedTests::test_set_reason_wrong_arguments
       
   244 . tests/test_crypto.py::CRLTests::test_add_revoked_keyword
       
   245 . tests/test_crypto.py::CRLTests::test_add_revoked_wrong_args
       
   246 . tests/test_crypto.py::CRLTests::test_construction
       
   247 . tests/test_crypto.py::CRLTests::test_construction_wrong_args
       
   248 . tests/test_crypto.py::CRLTests::test_dump_crl
       
   249 . tests/test_crypto.py::CRLTests::test_export_custom_digest
       
   250 . tests/test_crypto.py::CRLTests::test_export_default_digest
       
   251 . tests/test_crypto.py::CRLTests::test_export_der
       
   252 . tests/test_crypto.py::CRLTests::test_export_invalid
       
   253 . tests/test_crypto.py::CRLTests::test_export_md5_digest
       
   254 . tests/test_crypto.py::CRLTests::test_export_pem
       
   255 . tests/test_crypto.py::CRLTests::test_export_text
       
   256 . tests/test_crypto.py::CRLTests::test_export_unknown_digest
       
   257 . tests/test_crypto.py::CRLTests::test_export_unknown_filetype
       
   258 . tests/test_crypto.py::CRLTests::test_export_wrong_args
       
   259 . tests/test_crypto.py::CRLTests::test_get_issuer
       
   260 . tests/test_crypto.py::CRLTests::test_get_revoked
       
   261 . tests/test_crypto.py::CRLTests::test_get_revoked_wrong_args
       
   262 . tests/test_crypto.py::CRLTests::test_load_crl
       
   263 . tests/test_crypto.py::CRLTests::test_load_crl_bad_data
       
   264 . tests/test_crypto.py::CRLTests::test_load_crl_bad_filetype
       
   265 . tests/test_crypto.py::CRLTests::test_load_crl_wrong_args
       
   266 . tests/test_crypto.py::CRLTests::test_verify_with_missing_crl
       
   267 . tests/test_crypto.py::CRLTests::test_verify_with_revoked
       
   268 . tests/test_crypto.py::X509StoreContextTests::test_invalid_chain_no_intermediate
       
   269 . tests/test_crypto.py::X509StoreContextTests::test_invalid_chain_no_root
       
   270 . tests/test_crypto.py::X509StoreContextTests::test_modification_pre_verify
       
   271 . tests/test_crypto.py::X509StoreContextTests::test_reuse
       
   272 . tests/test_crypto.py::X509StoreContextTests::test_trusted_self_signed
       
   273 . tests/test_crypto.py::X509StoreContextTests::test_untrusted_self_signed
       
   274 . tests/test_crypto.py::X509StoreContextTests::test_valid
       
   275 . tests/test_crypto.py::SignVerifyTests::test_sign_nulls
       
   276 . tests/test_crypto.py::SignVerifyTests::test_sign_verify
       
   277 . tests/test_crypto.py::SignVerifyTests::test_sign_verify_with_text
       
   278 . tests/test_crypto.py::SignVerifyTests::test_sign_with_large_key
       
   279 . tests/test_crypto.py::EllipticCurveTests::test_a_curve
       
   280 . tests/test_crypto.py::EllipticCurveTests::test_not_a_curve
       
   281 . tests/test_crypto.py::EllipticCurveTests::test_repr
       
   282 . tests/test_crypto.py::EllipticCurveTests::test_set
       
   283 . tests/test_crypto.py::EllipticCurveTests::test_some_curves
       
   284 . tests/test_crypto.py::EllipticCurveTests::test_to_EC_KEY
       
   285 . tests/test_crypto.py::EllipticCurveEqualityTests::test_anotherTypeEq
       
   286 . tests/test_crypto.py::EllipticCurveEqualityTests::test_anotherTypeNe
       
   287 . tests/test_crypto.py::EllipticCurveEqualityTests::test_delegateNe
       
   288 . tests/test_crypto.py::EllipticCurveEqualityTests::test_delegatedEq
       
   289 . tests/test_crypto.py::EllipticCurveEqualityTests::test_differentEq
       
   290 . tests/test_crypto.py::EllipticCurveEqualityTests::test_differentNe
       
   291 . tests/test_crypto.py::EllipticCurveEqualityTests::test_identicalEq
       
   292 . tests/test_crypto.py::EllipticCurveEqualityTests::test_identicalNe
       
   293 . tests/test_crypto.py::EllipticCurveEqualityTests::test_sameEq
       
   294 . tests/test_crypto.py::EllipticCurveEqualityTests::test_sameNe
       
   295 . tests/test_crypto.py::EllipticCurveHashTests::test_contains
       
   296 . tests/test_crypto.py::EllipticCurveHashTests::test_does_not_contain
       
   297 . tests/test_rand.py::pep8
       
   298 . tests/test_rand.py::pyflakes
       
   299 . tests/test_rand.py::RandTests::test_add
       
   300 . tests/test_rand.py::RandTests::test_add_wrong_args
       
   301 . tests/test_rand.py::RandTests::test_bytes
       
   302 . tests/test_rand.py::RandTests::test_bytes_paths
       
   303 . tests/test_rand.py::RandTests::test_bytes_wrong_args
       
   304 . tests/test_rand.py::RandTests::test_cleanup
       
   305 . tests/test_rand.py::RandTests::test_cleanup_wrong_args
       
   306 . tests/test_rand.py::RandTests::test_egd_warning
       
   307 . tests/test_rand.py::RandTests::test_egd_wrong_args
       
   308 . tests/test_rand.py::RandTests::test_insufficientMemory
       
   309 . tests/test_rand.py::RandTests::test_load_file_wrong_args
       
   310 . tests/test_rand.py::RandTests::test_seed
       
   311 . tests/test_rand.py::RandTests::test_seed_wrong_args
       
   312 . tests/test_rand.py::RandTests::test_status
       
   313 . tests/test_rand.py::RandTests::test_status_wrong_args
       
   314 . tests/test_rand.py::RandTests::test_unicode_paths
       
   315 . tests/test_rand.py::RandTests::test_write_file_wrong_args
       
   316 . tests/test_ssl.py::pep8
       
   317 . tests/test_ssl.py::pyflakes
       
   318 . tests/test_ssl.py::VersionTests::test_OPENSSL_VERSION_NUMBER
       
   319 . tests/test_ssl.py::VersionTests::test_SSLeay_version
       
   320 . tests/test_ssl.py::TestContext::()::test_set_cipher_list[0hello world:AES128-SHA]
       
   321 . tests/test_ssl.py::TestContext::()::test_set_cipher_list[1hello world:AES128-SHA]
       
   322 . tests/test_ssl.py::TestContext::()::test_set_cipher_list_wrong_args[cipher_list0-TypeError]
       
   323 . tests/test_ssl.py::TestContext::()::test_set_cipher_list_wrong_args[imaginary-cipher-Error]
       
   324 . tests/test_ssl.py::TestContext::()::test_load_client_ca
       
   325 . tests/test_ssl.py::TestContext::()::test_load_client_ca_invalid
       
   326 . tests/test_ssl.py::TestContext::()::test_load_client_ca_unicode
       
   327 . tests/test_ssl.py::TestContext::()::test_set_session_id
       
   328 . tests/test_ssl.py::TestContext::()::test_set_session_id_fail
       
   329 . tests/test_ssl.py::TestContext::()::test_set_session_id_unicode
       
   330 . tests/test_ssl.py::ContextTests::test_add_extra_chain_cert
       
   331 . tests/test_ssl.py::ContextTests::test_add_extra_chain_cert_invalid_cert
       
   332 . tests/test_ssl.py::ContextTests::test_app_data
       
   333 . tests/test_ssl.py::ContextTests::test_check_privatekey_invalid
       
   334 . tests/test_ssl.py::ContextTests::test_check_privatekey_valid
       
   335 . tests/test_ssl.py::ContextTests::test_check_privatekey_wrong_args
       
   336 . tests/test_ssl.py::ContextTests::test_get_app_data_wrong_args
       
   337 . tests/test_ssl.py::ContextTests::test_get_cert_store
       
   338 . tests/test_ssl.py::ContextTests::test_get_session_cache_mode_wrong_args
       
   339 . tests/test_ssl.py::ContextTests::test_get_timeout_wrong_args
       
   340 . tests/test_ssl.py::ContextTests::test_get_verify_depth_wrong_args
       
   341 . tests/test_ssl.py::ContextTests::test_get_verify_mode_wrong_args
       
   342 . tests/test_ssl.py::ContextTests::test_load_tmp_dh_bytes
       
   343 . tests/test_ssl.py::ContextTests::test_load_tmp_dh_missing_file
       
   344 . tests/test_ssl.py::ContextTests::test_load_tmp_dh_unicode
       
   345 . tests/test_ssl.py::ContextTests::test_load_tmp_dh_wrong_args
       
   346 . tests/test_ssl.py::ContextTests::test_load_verify_bytes_cafile
       
   347 . tests/test_ssl.py::ContextTests::test_load_verify_directory_bytes_capath
       
   348 . tests/test_ssl.py::ContextTests::test_load_verify_directory_unicode_capath
       
   349 . tests/test_ssl.py::ContextTests::test_load_verify_invalid_file
       
   350 . tests/test_ssl.py::ContextTests::test_load_verify_locations_wrong_args
       
   351 . tests/test_ssl.py::ContextTests::test_load_verify_unicode_cafile
       
   352 . tests/test_ssl.py::ContextTests::test_method
       
   353 . tests/test_ssl.py::ContextTests::test_method_long
       
   354 . tests/test_ssl.py::ContextTests::test_passwd_callback_exception
       
   355 . tests/test_ssl.py::ContextTests::test_passwd_callback_false
       
   356 . tests/test_ssl.py::ContextTests::test_passwd_callback_non_string
       
   357 . tests/test_ssl.py::ContextTests::test_passwd_callback_too_long
       
   358 . tests/test_ssl.py::ContextTests::test_session_cache_mode
       
   359 . tests/test_ssl.py::ContextTests::test_session_cache_mode_long
       
   360 . tests/test_ssl.py::ContextTests::test_set_app_data_wrong_args
       
   361 s tests/test_ssl.py::ContextTests::test_set_default_verify_paths
       
   362  Skipped: This test doesn't work within OWAN, even with proxy set
       
   363 . tests/test_ssl.py::ContextTests::test_set_default_verify_paths_signature
       
   364 . tests/test_ssl.py::ContextTests::test_set_info_callback
       
   365 . tests/test_ssl.py::ContextTests::test_set_mode
       
   366 . tests/test_ssl.py::ContextTests::test_set_mode_long
       
   367 . tests/test_ssl.py::ContextTests::test_set_mode_wrong_args
       
   368 . tests/test_ssl.py::ContextTests::test_set_options
       
   369 . tests/test_ssl.py::ContextTests::test_set_options_long
       
   370 . tests/test_ssl.py::ContextTests::test_set_options_wrong_args
       
   371 . tests/test_ssl.py::ContextTests::test_set_passwd_cb
       
   372 . tests/test_ssl.py::ContextTests::test_set_passwd_cb_wrong_args
       
   373 . tests/test_ssl.py::ContextTests::test_set_session_cache_mode_wrong_args
       
   374 . tests/test_ssl.py::ContextTests::test_set_timeout_wrong_args
       
   375 . tests/test_ssl.py::ContextTests::test_set_tmp_ecdh
       
   376 . tests/test_ssl.py::ContextTests::test_set_verify_callback_connection_argument
       
   377 . tests/test_ssl.py::ContextTests::test_set_verify_callback_exception
       
   378 . tests/test_ssl.py::ContextTests::test_set_verify_depth_wrong_args
       
   379 . tests/test_ssl.py::ContextTests::test_set_verify_mode
       
   380 . tests/test_ssl.py::ContextTests::test_set_verify_mode_long
       
   381 . tests/test_ssl.py::ContextTests::test_timeout
       
   382 . tests/test_ssl.py::ContextTests::test_timeout_long
       
   383 . tests/test_ssl.py::ContextTests::test_type
       
   384 . tests/test_ssl.py::ContextTests::test_use_certificate
       
   385 . tests/test_ssl.py::ContextTests::test_use_certificate_chain_file_bytes
       
   386 . tests/test_ssl.py::ContextTests::test_use_certificate_chain_file_unicode
       
   387 . tests/test_ssl.py::ContextTests::test_use_certificate_chain_file_wrong_args
       
   388 . tests/test_ssl.py::ContextTests::test_use_certificate_file_bytes
       
   389 . tests/test_ssl.py::ContextTests::test_use_certificate_file_long
       
   390 . tests/test_ssl.py::ContextTests::test_use_certificate_file_missing
       
   391 . tests/test_ssl.py::ContextTests::test_use_certificate_file_unicode
       
   392 . tests/test_ssl.py::ContextTests::test_use_certificate_file_wrong_args
       
   393 . tests/test_ssl.py::ContextTests::test_use_certificate_uninitialized
       
   394 . tests/test_ssl.py::ContextTests::test_use_certificate_wrong_args
       
   395 . tests/test_ssl.py::ContextTests::test_use_privatekey
       
   396 . tests/test_ssl.py::ContextTests::test_use_privatekey_file_bytes
       
   397 . tests/test_ssl.py::ContextTests::test_use_privatekey_file_long
       
   398 . tests/test_ssl.py::ContextTests::test_use_privatekey_file_missing
       
   399 . tests/test_ssl.py::ContextTests::test_use_privatekey_file_unicode
       
   400 . tests/test_ssl.py::ContextTests::test_verify_depth
       
   401 . tests/test_ssl.py::ContextTests::test_verify_depth_long
       
   402 . tests/test_ssl.py::ServerNameCallbackTests::test_no_servername
       
   403 . tests/test_ssl.py::ServerNameCallbackTests::test_old_callback_forgotten
       
   404 . tests/test_ssl.py::ServerNameCallbackTests::test_servername
       
   405 . tests/test_ssl.py::ServerNameCallbackTests::test_wrong_args
       
   406 . tests/test_ssl.py::NextProtoNegotiationTests::test_npn_advertise_error
       
   407 . tests/test_ssl.py::NextProtoNegotiationTests::test_npn_client_fail
       
   408 . tests/test_ssl.py::NextProtoNegotiationTests::test_npn_select_error
       
   409 . tests/test_ssl.py::NextProtoNegotiationTests::test_npn_success
       
   410 . tests/test_ssl.py::ApplicationLayerProtoNegotiationTests::test_alpn_callback_exception
       
   411 . tests/test_ssl.py::ApplicationLayerProtoNegotiationTests::test_alpn_no_server
       
   412 . tests/test_ssl.py::ApplicationLayerProtoNegotiationTests::test_alpn_server_fail
       
   413 . tests/test_ssl.py::ApplicationLayerProtoNegotiationTests::test_alpn_set_on_connection
       
   414 . tests/test_ssl.py::ApplicationLayerProtoNegotiationTests::test_alpn_success
       
   415 . tests/test_ssl.py::SessionTests::test_construction
       
   416 . tests/test_ssl.py::SessionTests::test_construction_wrong_args
       
   417 . tests/test_ssl.py::ConnectionTests::test_accept
       
   418 . tests/test_ssl.py::ConnectionTests::test_accept_wrong_args
       
   419 . tests/test_ssl.py::ConnectionTests::test_app_data
       
   420 . tests/test_ssl.py::ConnectionTests::test_app_data_wrong_args
       
   421 . tests/test_ssl.py::ConnectionTests::test_client_get_session
       
   422 . tests/test_ssl.py::ConnectionTests::test_client_set_session
       
   423 . tests/test_ssl.py::ConnectionTests::test_connect
       
   424 . tests/test_ssl.py::ConnectionTests::test_connect_ex
       
   425 . tests/test_ssl.py::ConnectionTests::test_connect_refused
       
   426 . tests/test_ssl.py::ConnectionTests::test_connect_wrong_args
       
   427 . tests/test_ssl.py::ConnectionTests::test_connection_undefined_attr
       
   428 . tests/test_ssl.py::ConnectionTests::test_get_cipher_bits
       
   429 . tests/test_ssl.py::ConnectionTests::test_get_cipher_bits_before_connect
       
   430 . tests/test_ssl.py::ConnectionTests::test_get_cipher_name
       
   431 . tests/test_ssl.py::ConnectionTests::test_get_cipher_name_before_connect
       
   432 . tests/test_ssl.py::ConnectionTests::test_get_cipher_version
       
   433 . tests/test_ssl.py::ConnectionTests::test_get_cipher_version_before_connect
       
   434 . tests/test_ssl.py::ConnectionTests::test_get_context
       
   435 . tests/test_ssl.py::ConnectionTests::test_get_context_wrong_args
       
   436 . tests/test_ssl.py::ConnectionTests::test_get_finished
       
   437 . tests/test_ssl.py::ConnectionTests::test_get_finished_before_connect
       
   438 . tests/test_ssl.py::ConnectionTests::test_get_peer_cert_chain
       
   439 . tests/test_ssl.py::ConnectionTests::test_get_peer_cert_chain_none
       
   440 . tests/test_ssl.py::ConnectionTests::test_get_peer_cert_chain_wrong_args
       
   441 . tests/test_ssl.py::ConnectionTests::test_get_peer_finished
       
   442 . tests/test_ssl.py::ConnectionTests::test_get_peer_finished_before_connect
       
   443 . tests/test_ssl.py::ConnectionTests::test_get_protocol_version
       
   444 . tests/test_ssl.py::ConnectionTests::test_get_protocol_version_name
       
   445 . tests/test_ssl.py::ConnectionTests::test_get_servername_wrong_args
       
   446 . tests/test_ssl.py::ConnectionTests::test_get_session_unconnected
       
   447 . tests/test_ssl.py::ConnectionTests::test_get_session_wrong_args
       
   448 . tests/test_ssl.py::ConnectionTests::test_makefile
       
   449 . tests/test_ssl.py::ConnectionTests::test_peek
       
   450 . tests/test_ssl.py::ConnectionTests::test_pending
       
   451 . tests/test_ssl.py::ConnectionTests::test_pending_wrong_args
       
   452 . tests/test_ssl.py::ConnectionTests::test_server_get_session
       
   453 . tests/test_ssl.py::ConnectionTests::test_set_context
       
   454 . tests/test_ssl.py::ConnectionTests::test_set_context_wrong_args
       
   455 . tests/test_ssl.py::ConnectionTests::test_set_session_wrong_args
       
   456 F tests/test_ssl.py::ConnectionTests::test_set_session_wrong_method
       
   457  self = <tests.test_ssl.ConnectionTests testMethod=test_set_session_wrong_method>
       
   458  
       
   459      def test_set_session_wrong_method(self):
       
   460          """
       
   461              If :py:obj:`Connection.set_session` is passed a :py:class:`Session`
       
   462              instance associated with a context using a different SSL method than
       
   463              the :py:obj:`Connection` is using, a :py:class:`OpenSSL.SSL.Error` is
       
   464              raised.
       
   465              """
       
   466          # Make this work on both OpenSSL 1.0.0, which doesn't support TLSv1.2
       
   467          # and also on OpenSSL 1.1.0 which doesn't support SSLv3. (SSL_ST_INIT
       
   468          # is a way to check for 1.1.0)
       
   469          if SSL_ST_INIT is not None:
       
   470              v1 = TLSv1_METHOD
       
   471              v2 = SSLv3_METHOD
       
   472          else:
       
   473              v1 = TLSv1_2_METHOD
       
   474              v2 = TLSv1_METHOD
       
   475      
       
   476          key = load_privatekey(FILETYPE_PEM, server_key_pem)
       
   477          cert = load_certificate(FILETYPE_PEM, server_cert_pem)
       
   478          ctx = Context(v1)
       
   479          ctx.use_privatekey(key)
       
   480          ctx.use_certificate(cert)
       
   481          ctx.set_session_id("unity-test")
       
   482      
       
   483          def makeServer(socket):
       
   484              server = Connection(ctx, socket)
       
   485              server.set_accept_state()
       
   486              return server
       
   487      
       
   488          def makeOriginalClient(socket):
       
   489              client = Connection(Context(v1), socket)
       
   490              client.set_connect_state()
       
   491              return client
       
   492      
       
   493          originalServer, originalClient = self._loopback(
       
   494              serverFactory=makeServer, clientFactory=makeOriginalClient)
       
   495          originalSession = originalClient.get_session()
       
   496      
       
   497          def makeClient(socket):
       
   498              # Intentionally use a different, incompatible method here.
       
   499              client = Connection(Context(v2), socket)
       
   500              client.set_connect_state()
       
   501              client.set_session(originalSession)
       
   502              return client
       
   503      
       
   504          self.assertRaises(
       
   505              Error,
       
   506  >           self._loopback, clientFactory=makeClient, serverFactory=makeServer)
       
   507  
       
   508  tests/test_ssl.py:2689: 
       
   509  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
       
   510  tests/util.py:283: in failUnlessRaises
       
   511      f(*args, **kwargs)
       
   512  tests/test_ssl.py:251: in _loopback
       
   513      client = clientFactory(client)
       
   514  tests/test_ssl.py:2682: in makeClient
       
   515      client = Connection(Context(v2), socket)
       
   516  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
       
   517  
       
   518  self = <OpenSSL.SSL.Context object at 0xf19d5bcc>, method = 2
       
   519  
       
   520      def __init__(self, method):
       
   521          """
       
   522              :param method: One of SSLv2_METHOD, SSLv3_METHOD, SSLv23_METHOD, or
       
   523                  TLSv1_METHOD.
       
   524              """
       
   525          if not isinstance(method, integer_types):
       
   526              raise TypeError("method must be an integer")
       
   527      
       
   528          try:
       
   529              method_func = self._methods[method]
       
   530          except KeyError:
       
   531  >           raise ValueError("No such protocol")
       
   532  E           ValueError: No such protocol
       
   533  
       
   534  ../prototype/i386/usr/lib/python2.7/vendor-packages/OpenSSL/SSL.py:468: ValueError
       
   535 . tests/test_ssl.py::ConnectionTests::test_set_shutdown
       
   536 . tests/test_ssl.py::ConnectionTests::test_set_shutdown_long
       
   537 . tests/test_ssl.py::ConnectionTests::test_set_tlsext_host_name_wrong_args
       
   538 . tests/test_ssl.py::ConnectionTests::test_shutdown
       
   539 . tests/test_ssl.py::ConnectionTests::test_shutdown_closed
       
   540 . tests/test_ssl.py::ConnectionTests::test_shutdown_truncated
       
   541 . tests/test_ssl.py::ConnectionTests::test_shutdown_wrong_args
       
   542 . tests/test_ssl.py::ConnectionTests::test_state_string
       
   543 . tests/test_ssl.py::ConnectionTests::test_tls_finished_message_symmetry
       
   544 . tests/test_ssl.py::ConnectionTests::test_type
       
   545 . tests/test_ssl.py::ConnectionTests::test_wantWriteError
       
   546 . tests/test_ssl.py::ConnectionGetCipherListTests::test_result
       
   547 . tests/test_ssl.py::ConnectionGetCipherListTests::test_wrong_args
       
   548 . tests/test_ssl.py::ConnectionSendTests::test_short_buffer
       
   549 . tests/test_ssl.py::ConnectionSendTests::test_short_bytes
       
   550 . tests/test_ssl.py::ConnectionSendTests::test_short_memoryview
       
   551 . tests/test_ssl.py::ConnectionSendTests::test_text
       
   552 . tests/test_ssl.py::ConnectionSendTests::test_wrong_args
       
   553 . tests/test_ssl.py::ConnectionRecvIntoTests::test_bytearray_doesnt_overfill
       
   554 . tests/test_ssl.py::ConnectionRecvIntoTests::test_bytearray_no_length
       
   555 . tests/test_ssl.py::ConnectionRecvIntoTests::test_bytearray_really_doesnt_overfill
       
   556 . tests/test_ssl.py::ConnectionRecvIntoTests::test_bytearray_respects_length
       
   557 . tests/test_ssl.py::ConnectionRecvIntoTests::test_memoryview_doesnt_overfill
       
   558 . tests/test_ssl.py::ConnectionRecvIntoTests::test_memoryview_no_length
       
   559 . tests/test_ssl.py::ConnectionRecvIntoTests::test_memoryview_really_doesnt_overfill
       
   560 . tests/test_ssl.py::ConnectionRecvIntoTests::test_memoryview_respects_length
       
   561 . tests/test_ssl.py::ConnectionRecvIntoTests::test_peek
       
   562 . tests/test_ssl.py::ConnectionSendallTests::test_closed
       
   563 . tests/test_ssl.py::ConnectionSendallTests::test_long
       
   564 . tests/test_ssl.py::ConnectionSendallTests::test_short
       
   565 . tests/test_ssl.py::ConnectionSendallTests::test_short_buffers
       
   566 . tests/test_ssl.py::ConnectionSendallTests::test_short_memoryview
       
   567 . tests/test_ssl.py::ConnectionSendallTests::test_text
       
   568 . tests/test_ssl.py::ConnectionSendallTests::test_wrong_args
       
   569 . tests/test_ssl.py::ConnectionRenegotiateTests::test_renegotiate
       
   570 . tests/test_ssl.py::ConnectionRenegotiateTests::test_renegotiate_wrong_args
       
   571 . tests/test_ssl.py::ConnectionRenegotiateTests::test_total_renegotiations
       
   572 . tests/test_ssl.py::ConnectionRenegotiateTests::test_total_renegotiations_wrong_args
       
   573 . tests/test_ssl.py::ErrorTests::test_type
       
   574 . tests/test_ssl.py::ConstantsTests::test_op_cookie_exchange
       
   575 . tests/test_ssl.py::ConstantsTests::test_op_no_compression
       
   576 . tests/test_ssl.py::ConstantsTests::test_op_no_query_mtu
       
   577 . tests/test_ssl.py::ConstantsTests::test_op_no_ticket
       
   578 . tests/test_ssl.py::ConstantsTests::test_sess_cache_both
       
   579 . tests/test_ssl.py::ConstantsTests::test_sess_cache_client
       
   580 . tests/test_ssl.py::ConstantsTests::test_sess_cache_no_auto_clear
       
   581 . tests/test_ssl.py::ConstantsTests::test_sess_cache_no_internal
       
   582 . tests/test_ssl.py::ConstantsTests::test_sess_cache_no_internal_lookup
       
   583 . tests/test_ssl.py::ConstantsTests::test_sess_cache_no_internal_store
       
   584 . tests/test_ssl.py::ConstantsTests::test_sess_cache_off
       
   585 . tests/test_ssl.py::ConstantsTests::test_sess_cache_server
       
   586 . tests/test_ssl.py::MemoryBIOTests::test_add_client_ca_errors
       
   587 . tests/test_ssl.py::MemoryBIOTests::test_memoryConnect
       
   588 . tests/test_ssl.py::MemoryBIOTests::test_multiple_add_client_ca
       
   589 . tests/test_ssl.py::MemoryBIOTests::test_mutated_ca_list
       
   590 . tests/test_ssl.py::MemoryBIOTests::test_one_add_client_ca
       
   591 . tests/test_ssl.py::MemoryBIOTests::test_outgoingOverflow
       
   592 . tests/test_ssl.py::MemoryBIOTests::test_reset_ca_list
       
   593 . tests/test_ssl.py::MemoryBIOTests::test_set_after_add_client_ca
       
   594 . tests/test_ssl.py::MemoryBIOTests::test_set_and_add_client_ca
       
   595 . tests/test_ssl.py::MemoryBIOTests::test_set_client_ca_list_errors
       
   596 . tests/test_ssl.py::MemoryBIOTests::test_set_empty_ca_list
       
   597 . tests/test_ssl.py::MemoryBIOTests::test_set_multiple_ca_list
       
   598 . tests/test_ssl.py::MemoryBIOTests::test_set_one_ca_list
       
   599 . tests/test_ssl.py::MemoryBIOTests::test_shutdown
       
   600 . tests/test_ssl.py::MemoryBIOTests::test_socketConnect
       
   601 . tests/test_ssl.py::MemoryBIOTests::test_socketOverridesMemory
       
   602 . tests/test_ssl.py::MemoryBIOTests::test_unexpectedEndOfFile
       
   603 . tests/test_ssl.py::ConnectionBIOTests::test_buffer_size
       
   604 . tests/test_ssl.py::ConnectionBIOTests::test_buffer_size_long
       
   605 . tests/test_ssl.py::ConnectionBIOTests::test_wantReadError
       
   606 . tests/test_ssl.py::InfoConstantTests::test_integers
       
   607 . tests/test_ssl.py::TestRequires::()::test_available
       
   608 . tests/test_ssl.py::TestRequires::()::test_unavailable
       
   609 . tests/test_tsafe.py::pep8
       
   610 . tests/test_tsafe.py::pyflakes
       
   611 . tests/test_tsafe.py::ConnectionTest::test_instantiation
       
   612 . tests/test_util.py::pep8
       
   613 . tests/test_util.py::pyflakes
       
   614 . tests/test_util.py::ErrorTests::test_exception_from_error_queue_nonexistent_reason
       
   615 . tests/util.py::pep8
       
   616 . tests/util.py::pyflakes