aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_utils.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-08-01 15:49:34 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2015-08-01 15:49:34 -0400
commit877bdf01d60fb0b56dae31e1b8a2bdad2a9f4fc2 (patch)
tree6fd3cc6ff884c247e5bb1723861342e529e94e06 /tests/test_utils.py
parent0cfb17936ebb9bbfcb9a13e21f2437da4112176f (diff)
parentac78c866d3fd94c3de0e8a33e18654a312083c3e (diff)
downloadcryptography-877bdf01d60fb0b56dae31e1b8a2bdad2a9f4fc2.tar.gz
cryptography-877bdf01d60fb0b56dae31e1b8a2bdad2a9f4fc2.tar.bz2
cryptography-877bdf01d60fb0b56dae31e1b8a2bdad2a9f4fc2.zip
Merge pull request #2184 from reaperhulk/remove-more-branches
Branch coverage to 100%
Diffstat (limited to 'tests/test_utils.py')
-rw-r--r--tests/test_utils.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_utils.py b/tests/test_utils.py
index f71264ea..210e9292 100644
--- a/tests/test_utils.py
+++ b/tests/test_utils.py
@@ -3045,8 +3045,13 @@ 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
# Parameter set(s) supported: EA EB EC ED EE
# CAVSid: CAVSid (in hex: 434156536964)
# IUTid: In hex: a1b2c3d4e5