diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-08-01 20:26:00 +0100 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-08-01 20:26:00 +0100 |
commit | ac78c866d3fd94c3de0e8a33e18654a312083c3e (patch) | |
tree | 71b66e71a296473e3e1ac2023321f1d0d767de50 | |
parent | b60b8dd64513411f945da5af5f4f6eaa4330827b (diff) | |
download | cryptography-ac78c866d3fd94c3de0e8a33e18654a312083c3e.tar.gz cryptography-ac78c866d3fd94c3de0e8a33e18654a312083c3e.tar.bz2 cryptography-ac78c866d3fd94c3de0e8a33e18654a312083c3e.zip |
add test to cover partial branch in load_kasvs_ecdh_vectors
The loop to find supported parameter sets is partially covered otherwise
-rw-r--r-- | tests/test_utils.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_utils.py b/tests/test_utils.py index 416de795..210e9292 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -3045,6 +3045,10 @@ d518475576730ed528779366568e46b7dd4ed787cb72d0733c93 assert expected == load_kasvs_dh_vectors(vector_data) +def test_load_kasvs_ecdh_vectors_empty_vector_data(): + assert [] == load_kasvs_ecdh_vectors([]) + + def test_load_kasvs_ecdh_vectors(): vector_data = textwrap.dedent(""" # CAVS 11.0 |