Lines Matching full:pytest
9 import pytest
26 @pytest.mark.requires_backend_interface(interface=CipherBackend)
46 with pytest.raises(TypeError):
50 @pytest.mark.requires_backend_interface(interface=CipherBackend)
61 with pytest.raises(AlreadyFinalized):
63 with pytest.raises(AlreadyFinalized):
68 with pytest.raises(AlreadyFinalized):
70 with pytest.raises(AlreadyFinalized):
82 with pytest.raises(AlreadyFinalized):
106 @pytest.mark.parametrize("mode", [DummyMode(), None])
125 with pytest.raises(ValueError):
130 with pytest.raises(ValueError):
134 @pytest.mark.supported(
140 @pytest.mark.requires_backend_interface(interface=CipherBackend)
152 @pytest.mark.requires_backend_interface(interface=CipherBackend)
155 with pytest.raises(ValueError):
163 with pytest.raises(ValueError):
171 with pytest.raises(ValueError):
179 with pytest.raises(ValueError):
187 with pytest.raises(ValueError):
195 with pytest.raises(ValueError):
201 with pytest.raises(TypeError):
205 with pytest.raises(TypeError):
209 with pytest.raises(TypeError):
213 with pytest.raises(TypeError):
217 with pytest.raises(TypeError):
221 with pytest.raises(TypeError):
225 with pytest.raises(TypeError):