aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-10-24 14:05:10 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2014-10-24 14:05:10 -0700
commitf0dde60a20bbbf750f6833c624c0c5bf20c7ac9c (patch)
treef8cfc10de1505272971d4cd9bad03ecaab417768 /tests
parent63195b4a2e472949385d7b752d32604166d04ef1 (diff)
downloadcryptography-f0dde60a20bbbf750f6833c624c0c5bf20c7ac9c.tar.gz
cryptography-f0dde60a20bbbf750f6833c624c0c5bf20c7ac9c.tar.bz2
cryptography-f0dde60a20bbbf750f6833c624c0c5bf20c7ac9c.zip
Update test for new API
Diffstat (limited to 'tests')
-rw-r--r--tests/hazmat/bindings/test_utils.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/hazmat/bindings/test_utils.py b/tests/hazmat/bindings/test_utils.py
index 0d5b34de..3596cd1d 100644
--- a/tests/hazmat/bindings/test_utils.py
+++ b/tests/hazmat/bindings/test_utils.py
@@ -17,9 +17,9 @@ from cryptography.hazmat.bindings import utils
def test_create_modulename():
- cdef_sources = ["cdef sources go here"]
+ cdef_source = "cdef sources go here"
source = "source code"
- name = utils._create_modulename(cdef_sources, source, "2.7")
+ name = utils._create_modulename(cdef_source, source, "2.7")
assert name == "_Cryptography_cffi_bcba7f4bx4a14b588"
- name = utils._create_modulename(cdef_sources, source, "3.2")
+ name = utils._create_modulename(cdef_source, source, "3.2")
assert name == "_Cryptography_cffi_a7462526x4a14b588"