From ac4d5f2249de136cbfef72aa650dcc4703b67851 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Sun, 7 Dec 2014 17:44:29 -0600 Subject: Stupid mistake number one billion. --- tests/hazmat/primitives/test_asym_utils.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/hazmat/primitives/test_asym_utils.py b/tests/hazmat/primitives/test_asym_utils.py index 9403669c..bf55bad8 100644 --- a/tests/hazmat/primitives/test_asym_utils.py +++ b/tests/hazmat/primitives/test_asym_utils.py @@ -39,9 +39,17 @@ def test_rfc6979_signature(): def test_encode_rfc6979_non_integer(): with pytest.raises(ValueError): encode_rfc6979_signature("h", 3) + + with pytest.raises(ValueError): encode_rfc6979_signature("3", "2") + + with pytest.raises(ValueError): encode_rfc6979_signature(3, "h") + + with pytest.raises(ValueError): encode_rfc6979_signature(3.3, 1.2) + + with pytest.raises(ValueError): encode_rfc6979_signature("hello", "world") -- cgit v1.2.3