aboutsummaryrefslogtreecommitdiffstats
path: root/tests/primitives/test_utils.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2013-10-22 20:13:06 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2013-10-22 20:15:49 -0500
commitdb37d0e29d6a7ff41e5c312e7ad1f904c0bc310e (patch)
tree8d2ba89bd84b3aa2986fea7c51405fed4d10b237 /tests/primitives/test_utils.py
parent6ce102ac57a283f881d76e2e926a389f8a05b19b (diff)
downloadcryptography-db37d0e29d6a7ff41e5c312e7ad1f904c0bc310e.tar.gz
cryptography-db37d0e29d6a7ff41e5c312e7ad1f904c0bc310e.tar.bz2
cryptography-db37d0e29d6a7ff41e5c312e7ad1f904c0bc310e.zip
the great api -> backend rename
Diffstat (limited to 'tests/primitives/test_utils.py')
-rw-r--r--tests/primitives/test_utils.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/primitives/test_utils.py b/tests/primitives/test_utils.py
index 6e197923..b7fa3d35 100644
--- a/tests/primitives/test_utils.py
+++ b/tests/primitives/test_utils.py
@@ -10,7 +10,7 @@ class TestEncryptTest(object):
with pytest.raises(pytest.skip.Exception) as exc_info:
encrypt_test(
None, None, None, None,
- only_if=lambda api: False,
+ only_if=lambda backend: False,
skip_message="message!"
)
assert exc_info.value.args[0] == "message!"
@@ -21,7 +21,7 @@ class TestHashTest(object):
with pytest.raises(pytest.skip.Exception) as exc_info:
hash_test(
None, None, None,
- only_if=lambda api: False,
+ only_if=lambda backend: False,
skip_message="message!"
)
assert exc_info.value.args[0] == "message!"
@@ -32,7 +32,7 @@ class TestBaseHashTest(object):
with pytest.raises(pytest.skip.Exception) as exc_info:
base_hash_test(
None, None, None, None,
- only_if=lambda api: False,
+ only_if=lambda backend: False,
skip_message="message!"
)
assert exc_info.value.args[0] == "message!"
@@ -43,7 +43,7 @@ class TestLongHashTest(object):
with pytest.raises(pytest.skip.Exception) as exc_info:
long_string_hash_test(
None, None, None,
- only_if=lambda api: False,
+ only_if=lambda backend: False,
skip_message="message!"
)
assert exc_info.value.args[0] == "message!"