commit | d9c1ebac886658ca988d9d3ea3bf2841c9554241 | [log] [tgz] |
---|---|---|
author | Alex Stapleton <alexs@prol.etari.at> | Fri May 23 22:33:35 2014 +0100 |
committer | Alex Stapleton <alexs@prol.etari.at> | Fri May 23 22:33:35 2014 +0100 |
tree | f948f77594d19480e7d6594aa5bbf7a15f6c09d3 | |
parent | 6e52674222a32d57a002137baa0d57df132b40d4 [diff] |
Test EC public numbers type error
diff --git a/tests/hazmat/primitives/test_ec.py b/tests/hazmat/primitives/test_ec.py index f61b4a9..53985fe 100644 --- a/tests/hazmat/primitives/test_ec.py +++ b/tests/hazmat/primitives/test_ec.py
@@ -71,3 +71,9 @@ 2, 3, None ) ) + + with pytest.raises(TypeError): + ec.EllipticCurvePrivateNumbers( + 1, + None + )