aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_asym_utils.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-12-07 13:52:39 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-12-07 13:52:39 -0600
commit6a4342c18ca0507f3d1842591553bddac6eb9189 (patch)
tree0d67b35340056438aef3e79484d338b1c3fd4ad2 /tests/hazmat/primitives/test_asym_utils.py
parenta43964a0e90d7788b81521c9e7b949cdc2b555a0 (diff)
downloadcryptography-6a4342c18ca0507f3d1842591553bddac6eb9189.tar.gz
cryptography-6a4342c18ca0507f3d1842591553bddac6eb9189.tar.bz2
cryptography-6a4342c18ca0507f3d1842591553bddac6eb9189.zip
directly test r, s for integer-ness
Diffstat (limited to 'tests/hazmat/primitives/test_asym_utils.py')
-rw-r--r--tests/hazmat/primitives/test_asym_utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/hazmat/primitives/test_asym_utils.py b/tests/hazmat/primitives/test_asym_utils.py
index 3598f78a..9403669c 100644
--- a/tests/hazmat/primitives/test_asym_utils.py
+++ b/tests/hazmat/primitives/test_asym_utils.py
@@ -39,6 +39,7 @@ def test_rfc6979_signature():
def test_encode_rfc6979_non_integer():
with pytest.raises(ValueError):
encode_rfc6979_signature("h", 3)
+ encode_rfc6979_signature("3", "2")
encode_rfc6979_signature(3, "h")
encode_rfc6979_signature(3.3, 1.2)
encode_rfc6979_signature("hello", "world")