aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-10-25 08:37:40 -0700
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-10-25 08:37:40 -0700
commitf601c1c720478bf246ae62e7bb8a141c84d34481 (patch)
treed0bc0aa5dcba052df39c56e69065bde1de8963e0 /tests
parent396bcd901aa300ca7cf9ae04cdea20ef498181b9 (diff)
parent1628dd41b609fd4e996a949b9be2f6e4ea62cfc1 (diff)
downloadcryptography-f601c1c720478bf246ae62e7bb8a141c84d34481.tar.gz
cryptography-f601c1c720478bf246ae62e7bb8a141c84d34481.tar.bz2
cryptography-f601c1c720478bf246ae62e7bb8a141c84d34481.zip
Merge pull request #1441 from alex/refactor-cffi-compilation
Refactor our creation of CFFI FFI and libraries slightly.
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"