Lines Matching full:pytest

12 import pytest
47 pytest.skip(
56 pytest.skip(
67 pytest.skip(
85 @pytest.mark.requires_backend_interface(interface=EllipticCurveBackend)
87 with pytest.raises(pytest.skip.Exception):
91 @pytest.mark.requires_backend_interface(interface=EllipticCurveBackend)
93 with pytest.raises(pytest.skip.Exception):
97 @pytest.mark.requires_backend_interface(interface=EllipticCurveBackend)
99 with pytest.raises(pytest.skip.Exception):
103 @pytest.mark.requires_backend_interface(interface=EllipticCurveBackend)
117 @pytest.mark.requires_backend_interface(interface=EllipticCurveBackend)
122 with pytest.raises(TypeError):
125 with pytest.raises(TypeError):
128 with pytest.raises(ValueError):
146 @pytest.mark.parametrize(
156 with pytest.raises(TypeError):
163 with pytest.raises(TypeError):
178 with pytest.warns(utils.DeprecatedIn25):
192 with pytest.warns(CryptographyDeprecationWarning):
211 with pytest.raises(ValueError):
212 with pytest.warns(CryptographyDeprecationWarning):
223 with pytest.raises(ValueError):
224 with pytest.warns(CryptographyDeprecationWarning):
231 with pytest.raises(TypeError):
232 with pytest.warns(CryptographyDeprecationWarning):
267 @pytest.mark.requires_backend_interface(interface=EllipticCurveBackend)
276 @pytest.mark.requires_backend_interface(interface=EllipticCurveBackend)
278 @pytest.mark.parametrize(
311 @pytest.mark.requires_backend_interface(interface=EllipticCurveBackend)
313 @pytest.mark.parametrize(
342 with pytest.warns(CryptographyDeprecationWarning):
347 with pytest.warns(CryptographyDeprecationWarning):
352 @pytest.mark.parametrize(
386 ), pytest.warns(CryptographyDeprecationWarning):
396 ), pytest.warns(CryptographyDeprecationWarning):
422 with pytest.raises(ValueError):
433 with pytest.raises(ValueError):
444 with pytest.raises(ValueError):
460 with pytest.raises(ValueError):
473 with pytest.raises(ValueError):
476 @pytest.mark.parametrize(
511 @pytest.mark.parametrize(
534 with pytest.raises(exceptions.InvalidSignature):
576 with pytest.raises(ValueError):
610 with pytest.raises(ValueError):
618 with pytest.raises(TypeError), \
619 pytest.warns(CryptographyDeprecationWarning):
626 with pytest.raises(TypeError), \
627 pytest.warns(CryptographyDeprecationWarning):
671 @pytest.mark.requires_backend_interface(interface=EllipticCurveBackend)
672 @pytest.mark.requires_backend_interface(interface=PEMSerializationBackend)
674 @pytest.mark.parametrize(
709 @pytest.mark.parametrize(
721 with pytest.raises(ValueError):
724 @pytest.mark.parametrize(
753 @pytest.mark.parametrize(
795 @pytest.mark.parametrize(
838 with pytest.raises(ValueError):
854 with pytest.raises(TypeError):
870 with pytest.raises(TypeError):
886 with pytest.raises(TypeError):
902 with pytest.raises(ValueError):
927 @pytest.mark.requires_backend_interface(interface=EllipticCurveBackend)
928 @pytest.mark.requires_backend_interface(interface=PEMSerializationBackend)
930 @pytest.mark.parametrize(
982 with pytest.raises(ValueError):
998 with pytest.raises(TypeError):
1004 @pytest.mark.parametrize(
1029 with pytest.raises(ValueError):
1042 with pytest.raises(TypeError):
1055 with pytest.raises(ValueError):
1060 @pytest.mark.parametrize(
1084 with pytest.raises(ValueError):
1113 with pytest.raises(ValueError):
1119 with pytest.raises(ValueError):
1125 with pytest.raises(TypeError):
1135 with pytest.raises(ValueError):
1140 @pytest.mark.parametrize(
1171 @pytest.mark.requires_backend_interface(interface=EllipticCurveBackend)
1177 with pytest.raises(TypeError), \
1178 pytest.warns(CryptographyDeprecationWarning):
1182 @pytest.mark.requires_backend_interface(interface=EllipticCurveBackend)
1184 @pytest.mark.parametrize(
1210 with pytest.raises(ValueError):
1225 with pytest.raises(ValueError):
1242 @pytest.mark.parametrize(
1298 with pytest.raises(ValueError):