Lines Matching full:pytest
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])
121 with pytest.raises(ValueError):
126 with pytest.raises(ValueError):
130 @pytest.mark.supported(
136 @pytest.mark.requires_backend_interface(interface=CipherBackend)
148 @pytest.mark.requires_backend_interface(interface=CipherBackend)
151 with pytest.raises(ValueError):
159 with pytest.raises(ValueError):
167 with pytest.raises(ValueError):
175 with pytest.raises(ValueError):
183 with pytest.raises(ValueError):
191 with pytest.raises(ValueError):
197 with pytest.raises(TypeError):
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):