From 4ef99da4918d37ce34890c78a34f28755cb34ef7 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Wed, 28 Oct 2015 11:10:46 +0900 Subject: add ellipticcurvepublicnumbers repr --- tests/hazmat/primitives/test_ec.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/hazmat/primitives/test_ec.py') diff --git a/tests/hazmat/primitives/test_ec.py b/tests/hazmat/primitives/test_ec.py index 5baaa3cd..d420e9c9 100644 --- a/tests/hazmat/primitives/test_ec.py +++ b/tests/hazmat/primitives/test_ec.py @@ -215,6 +215,11 @@ def test_from_encoded_point_not_a_curve(): ) +def test_ec_public_numbers_repr(): + pn = ec.EllipticCurvePublicNumbers(2, 3, ec.SECP256R1()) + assert repr(pn) == "" + + @pytest.mark.requires_backend_interface(interface=EllipticCurveBackend) class TestECWithNumbers(object): @pytest.mark.parametrize( -- cgit v1.2.3