diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/hazmat/primitives/test_block.py | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/hazmat/primitives/test_block.py b/tests/hazmat/primitives/test_block.py index c053feaf..37158f15 100644 --- a/tests/hazmat/primitives/test_block.py +++ b/tests/hazmat/primitives/test_block.py @@ -191,6 +191,10 @@ class TestModeValidation(object):                  backend,              ) +    def test_gcm(self): +        with pytest.raises(ValueError): +            modes.GCM(b"") +  class TestModesRequireBytes(object):      def test_cbc(self):  | 
