• Home
  • Raw
  • Download

Lines Matching full:pytest

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(
65 @pytest.mark.requires_backend_interface(interface=HashBackend)
73 @pytest.mark.supported(
77 @pytest.mark.requires_backend_interface(interface=HashBackend)
85 @pytest.mark.supported(
89 @pytest.mark.requires_backend_interface(interface=HashBackend)
97 @pytest.mark.supported(
101 @pytest.mark.requires_backend_interface(interface=HashBackend)
109 @pytest.mark.supported(
113 @pytest.mark.requires_backend_interface(interface=HashBackend)
121 @pytest.mark.supported(
127 @pytest.mark.requires_backend_interface(interface=HashBackend)
135 with pytest.raises(ValueError):
138 with pytest.raises(ValueError):
141 with pytest.raises(ValueError):
145 @pytest.mark.supported(
151 @pytest.mark.requires_backend_interface(interface=HashBackend)
159 with pytest.raises(ValueError):
162 with pytest.raises(ValueError):
165 with pytest.raises(ValueError):
176 @pytest.mark.requires_backend_interface(interface=HashBackend)
187 @pytest.mark.parametrize("xof", [hashes.SHAKE128, hashes.SHAKE256])
189 with pytest.raises(TypeError):
192 @pytest.mark.parametrize("xof", [hashes.SHAKE128, hashes.SHAKE256])
194 with pytest.raises(ValueError):
197 with pytest.raises(ValueError):