• Home
  • Raw
  • Download

Lines Matching full:pytest

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)
71 with pytest.raises(ValueError):
76 @pytest.mark.parametrize("size", [7, 129])
78 with pytest.raises(ValueError):
83 @pytest.mark.parametrize(
92 with pytest.raises(ValueError):
96 with pytest.raises(TypeError, match="key must be bytes"):
101 @pytest.mark.parametrize("key", [b"0" * 16, b"0" * 32, b"0" * 48])
107 with pytest.raises(ValueError):
111 with pytest.raises(TypeError, match="key must be bytes"):
116 @pytest.mark.parametrize(
125 with pytest.raises(ValueError):
129 with pytest.raises(TypeError, match="key must be bytes"):
134 @pytest.mark.parametrize(
143 with pytest.raises(ValueError):
147 with pytest.raises(TypeError, match="key must be bytes"):
152 @pytest.mark.parametrize(
169 with pytest.raises(ValueError):
173 with pytest.raises(TypeError, match="key must be bytes"):
183 with pytest.raises(ValueError):
187 with pytest.raises(TypeError, match="key must be bytes"):
197 with pytest.raises(ValueError):
201 with pytest.raises(TypeError, match="key must be bytes"):
212 @pytest.mark.supported(
218 @pytest.mark.requires_backend_interface(interface=CipherBackend)
220 @pytest.mark.parametrize(
238 @pytest.mark.supported(
263 @pytest.mark.supported(
282 with pytest.raises(AlreadyFinalized):
285 @pytest.mark.parametrize(
310 with pytest.raises(ValueError):
313 @pytest.mark.supported(
324 with pytest.raises(ValueError):