/external/python/google-auth-library-python/tests/transport/ |
D | test__mtls_helper.py | 20 import pytest 64 pytest.public_cert_bytes + pytest.private_key_bytes, 65 pytest.public_cert_bytes, 66 pytest.private_key_bytes, 69 pytest.private_key_bytes + pytest.public_cert_bytes, 70 pytest.public_cert_bytes, 71 pytest.private_key_bytes, 76 pytest.public_cert_bytes 77 + pytest.public_cert_bytes 78 + pytest.private_key_bytes, [all …]
|
/external/python/cryptography/tests/hazmat/primitives/ |
D | test_hashes.py | 9 import pytest 20 @pytest.mark.requires_backend_interface(interface=HashBackend) 24 with pytest.raises(TypeError): 28 with pytest.raises(TypeError): 35 with pytest.raises(AlreadyFinalized): 38 with pytest.raises(AlreadyFinalized): 41 with pytest.raises(AlreadyFinalized): 49 @pytest.mark.supported( 53 @pytest.mark.requires_backend_interface(interface=HashBackend) 61 @pytest.mark.supported( [all …]
|
D | test_hash_vectors.py | 10 import pytest 19 @pytest.mark.supported( 23 @pytest.mark.requires_backend_interface(interface=HashBackend) 33 @pytest.mark.supported( 37 @pytest.mark.requires_backend_interface(interface=HashBackend) 47 @pytest.mark.supported( 51 @pytest.mark.requires_backend_interface(interface=HashBackend) 61 @pytest.mark.supported( 65 @pytest.mark.requires_backend_interface(interface=HashBackend) 75 @pytest.mark.supported( [all …]
|
D | test_aead.py | 10 import pytest 42 @pytest.mark.skipif( 46 @pytest.mark.requires_backend_interface(interface=CipherBackend) 52 @pytest.mark.skipif( 56 @pytest.mark.requires_backend_interface(interface=CipherBackend) 63 with pytest.raises(OverflowError): 66 with pytest.raises(OverflowError): 74 with pytest.raises(TypeError): 77 with pytest.raises(ValueError): 80 @pytest.mark.parametrize( [all …]
|
D | test_serialization.py | 12 import pytest 63 pytest.skip("Traditional OpenSSL format blocked in FIPS mode") 65 pytest.skip("Encrypted PEM_Serialization blocked in FIPS mode") 69 @pytest.mark.requires_backend_interface(interface=RSABackend) 70 @pytest.mark.parametrize( 90 @pytest.mark.requires_backend_interface(interface=RSABackend) 91 @pytest.mark.parametrize( 120 @pytest.mark.requires_backend_interface(interface=DERSerializationBackend) 122 @pytest.mark.requires_backend_interface(interface=RSABackend) 123 @pytest.mark.parametrize( [all …]
|
D | test_ciphers.py | 10 import pytest 35 @pytest.mark.parametrize( 44 with pytest.raises(ValueError): 48 with pytest.raises(TypeError, match="key must be bytes"): 53 @pytest.mark.requires_backend_interface(interface=CipherBackend) 54 @pytest.mark.parametrize( 58 with pytest.raises(ValueError): 62 with pytest.raises(TypeError): 66 with pytest.raises(ValueError): 69 @pytest.mark.requires_backend_interface(interface=CipherBackend) [all …]
|
D | test_block.py | 9 import pytest 28 @pytest.mark.requires_backend_interface(interface=CipherBackend) 48 with pytest.raises(TypeError): 52 @pytest.mark.requires_backend_interface(interface=CipherBackend) 63 with pytest.raises(AlreadyFinalized): 65 with pytest.raises(AlreadyFinalized): 70 with pytest.raises(AlreadyFinalized): 72 with pytest.raises(AlreadyFinalized): 84 with pytest.raises(AlreadyFinalized): 106 @pytest.mark.parametrize("mode", [DummyMode(), None]) [all …]
|
D | test_ec.py | 12 import pytest 52 pytest.skip( 61 pytest.skip( 72 pytest.skip( 81 with pytest.raises(LookupError): 96 @pytest.mark.requires_backend_interface(interface=EllipticCurveBackend) 98 with pytest.raises(pytest.skip.Exception): 102 @pytest.mark.requires_backend_interface(interface=EllipticCurveBackend) 104 with pytest.raises(pytest.skip.Exception): 108 @pytest.mark.requires_backend_interface(interface=EllipticCurveBackend) [all …]
|
D | test_rsa.py | 11 import pytest 137 pytest.skip( 142 @pytest.mark.requires_backend_interface(interface=RSABackend) 144 with pytest.raises(pytest.skip.Exception): 172 @pytest.mark.requires_backend_interface(interface=RSABackend) 174 @pytest.mark.parametrize( 184 pytest.skip("Key size not FIPS compliant: {}".format(key_size)) 186 pytest.skip( 197 with pytest.raises(ValueError): 202 with pytest.raises(ValueError): [all …]
|
D | test_keywrap.py | 10 import pytest 20 @pytest.mark.requires_backend_interface(interface=CipherBackend) 22 @pytest.mark.parametrize( 30 @pytest.mark.supported( 43 @pytest.mark.parametrize( 51 @pytest.mark.supported( 62 with pytest.raises(keywrap.InvalidUnwrap): 70 @pytest.mark.supported( 79 with pytest.raises(ValueError): 82 @pytest.mark.supported( [all …]
|
D | test_dh.py | 11 import pytest 44 pytest.skip("DH x9.42 serialization is not supported") 53 with pytest.raises(TypeError): 56 with pytest.raises(TypeError): 59 with pytest.raises(TypeError): 62 with pytest.raises(ValueError): 66 with pytest.raises(ValueError): 75 with pytest.raises(TypeError): 87 with pytest.raises(TypeError): 90 with pytest.raises(TypeError): [all …]
|
D | test_cmac.py | 9 import pytest 52 @pytest.mark.requires_backend_interface(interface=CMACBackend) 54 @pytest.mark.supported( 60 @pytest.mark.parametrize("params", vectors_aes) 70 @pytest.mark.supported( 76 @pytest.mark.parametrize("params", vectors_aes) 86 @pytest.mark.supported( 92 @pytest.mark.parametrize("params", vectors_3des) 107 @pytest.mark.supported( 113 @pytest.mark.parametrize("params", vectors_3des) [all …]
|
D | test_poly1305.py | 10 import pytest 26 @pytest.mark.supported( 35 @pytest.mark.supported( 40 @pytest.mark.parametrize( 65 with pytest.raises(AlreadyFinalized): 68 with pytest.raises(AlreadyFinalized): 73 with pytest.raises(TypeError): 76 with pytest.raises(TypeError): 84 with pytest.raises(AlreadyFinalized): 96 with pytest.raises(InvalidSignature): [all …]
|
D | test_dsa.py | 10 import pytest 39 pytest.skip( 44 @pytest.mark.requires_backend_interface(interface=DSABackend) 46 with pytest.raises(pytest.skip.Exception): 50 @pytest.mark.requires_backend_interface(interface=DSABackend) 57 with pytest.raises(ValueError): 60 @pytest.mark.parametrize( 72 pytest.skip("Small modulus blocked in FIPS mode") 105 @pytest.mark.parametrize( 161 with pytest.raises(ValueError): [all …]
|
D | test_ed448.py | 10 import pytest 26 @pytest.mark.supported( 47 @pytest.mark.supported( 52 @pytest.mark.parametrize( 61 pytest.skip("ed448 contexts are not currently supported") 82 with pytest.raises(InvalidSignature): 85 with pytest.raises(InvalidSignature): 93 @pytest.mark.parametrize( 126 @pytest.mark.parametrize( 168 with pytest.raises(TypeError): [all …]
|
D | test_padding.py | 7 import pytest 16 @pytest.mark.parametrize("size", [127, 4096, -2]) 18 with pytest.raises(ValueError): 21 @pytest.mark.parametrize( 34 with pytest.raises(ValueError): 40 with pytest.raises(TypeError): 43 with pytest.raises(TypeError): 58 @pytest.mark.parametrize( 77 @pytest.mark.parametrize( 97 with pytest.raises(AlreadyFinalized): [all …]
|
/external/python/cryptography/tests/x509/ |
D | test_x509_crlbuilder.py | 9 import pytest 37 with pytest.raises(TypeError): 44 with pytest.raises(ValueError): 49 @pytest.mark.requires_backend_interface(interface=RSABackend) 50 @pytest.mark.requires_backend_interface(interface=X509Backend) 78 with pytest.raises(TypeError): 83 with pytest.raises(ValueError): 90 with pytest.raises(ValueError): 93 @pytest.mark.requires_backend_interface(interface=RSABackend) 94 @pytest.mark.requires_backend_interface(interface=X509Backend) [all …]
|
D | test_ocsp.py | 11 import pytest 78 with pytest.raises(ValueError): 111 with pytest.raises(NotImplementedError): 122 with pytest.raises(UnsupportedAlgorithm): 139 with pytest.raises(ValueError): 141 with pytest.raises(ValueError): 150 with pytest.raises(ValueError): 155 with pytest.raises(ValueError): 161 with pytest.raises(ValueError): 167 with pytest.raises(ValueError): [all …]
|
D | test_x509_revokedcertbuilder.py | 9 import pytest 19 with pytest.raises(TypeError): 23 with pytest.raises(ValueError): 27 with pytest.raises(ValueError): 30 @pytest.mark.requires_backend_interface(interface=X509Backend) 42 @pytest.mark.requires_backend_interface(interface=X509Backend) 55 with pytest.raises(ValueError): 60 with pytest.raises(ValueError): 63 @pytest.mark.requires_backend_interface(interface=X509Backend) 80 with pytest.raises(TypeError): [all …]
|
/external/python/pybind11/tests/ |
D | test_exceptions.py | 4 import pytest 11 with pytest.raises(RuntimeError) as excinfo: 17 with pytest.raises(RuntimeError) as excinfo: 21 with pytest.raises(ValueError) as excinfo: 27 with pytest.raises(RuntimeError) as excinfo: 31 with pytest.raises(ValueError) as excinfo: 35 with pytest.raises(ValueError) as excinfo: 39 with pytest.raises(TypeError) as excinfo: 43 with pytest.raises(StopIteration) as excinfo: 55 if hasattr(pytest, unraisable): # Python >= 3.8 and pytest >= 6 [all …]
|
/external/python/dateutil/dateutil/test/ |
D | test_isoparser.py | 10 import pytest 49 @pytest.mark.parametrize('dt', tuple(DATES)) 56 @pytest.mark.parametrize('dt', tuple(DATES)) 65 @pytest.mark.parametrize('dt', tuple(DATES)) 66 @pytest.mark.parametrize('fmt', YMD_FMTS) 95 @pytest.mark.parametrize('dt', tuple(DATETIMES)) 96 @pytest.mark.parametrize('date_fmt', YMD_FMTS) 97 @pytest.mark.parametrize('tzoffset', TZOFFSETS) 102 @pytest.mark.parametrize('dt', tuple(DATETIMES)) 103 @pytest.mark.parametrize('date_fmt', YMD_FMTS) [all …]
|
D | test_internals.py | 13 import pytest 23 # @pytest.mark.smoke 52 @pytest.mark.skipif(IS_PY32, reason='pytest.warns not supported on Python 3.2') 57 with pytest.warns(DeprecationWarning): 60 with pytest.warns(DeprecationWarning): 63 with pytest.warns(DeprecationWarning): 67 @pytest.mark.skipif(IS_PY32, reason='pytest.warns not supported on Python 3.2') 72 with pytest.warns(None) as recorder: 76 with pytest.warns(None) as recorder: 81 with pytest.warns(None) as recorder: [all …]
|
/external/python/setuptools/ |
D | pytest.ini | 1 [pytest] section 16 # shopkeep/pytest-black#55 argument 17 …ignore:<class 'pytest_black.BlackItem'> is not using a cooperative constructor:pytest.PytestDeprec… 18 …ignore:The \(fspath. py.path.local\) argument to BlackItem is deprecated.:pytest.PytestDeprecation… 19 ignore:BlackItem is an Item subclass and should not be a collector:pytest.PytestWarning 21 # tholo/pytest-flake8#83 22 …ignore:<class 'pytest_flake8.Flake8Item'> is not using a cooperative constructor:pytest.PytestDepr… 23 …ignore:The \(fspath. py.path.local\) argument to Flake8Item is deprecated.:pytest.PytestDeprecatio… 24 ignore:Flake8Item is an Item subclass and should not be a collector:pytest.PytestWarning 26 # dbader/pytest-mypy#131 [all …]
|
/external/python/google-auth-library-python/tests_async/oauth2/ |
D | test_reauth_async.py | 18 import pytest 55 @pytest.mark.asyncio 70 @pytest.mark.asyncio 90 @pytest.mark.asyncio 112 @pytest.mark.asyncio 124 @pytest.mark.asyncio 128 with pytest.raises(exceptions.ReauthFailError) as excinfo: 135 @pytest.mark.asyncio 141 with pytest.raises(exceptions.ReauthFailError) as excinfo: 148 @pytest.mark.asyncio [all …]
|
/external/python/setuptools/setuptools.egg-info/ |
D | requires.txt | 18 pytest>=6 19 pytest-checkdocs>=2.4 20 pytest-flake8 21 pytest-enabler>=1.0.1 22 pytest-perf 29 pytest-xdist 38 pytest 39 pytest-xdist 40 pytest-enabler 50 pytest-black>=0.3.7 [all …]
|