diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-10-22 19:24:31 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-10-22 19:24:31 -0700 |
commit | 25c0037d0d1bf4b4d426cc03b9390456d127d4d7 (patch) | |
tree | febc087d21873d764c7701a18f79cf4eef649f9c /tests/primitives/test_utils.py | |
parent | 68e5de708d623a03ea4cbd4d3a4297b5722950eb (diff) | |
parent | f4c59767cdfe7716c82a72b00baa427637b505bd (diff) | |
download | cryptography-25c0037d0d1bf4b4d426cc03b9390456d127d4d7.tar.gz cryptography-25c0037d0d1bf4b4d426cc03b9390456d127d4d7.tar.bz2 cryptography-25c0037d0d1bf4b4d426cc03b9390456d127d4d7.zip |
Merge pull request #172 from reaperhulk/api-to-backend-in-one-easy-step
The great api -> backend rename
Diffstat (limited to 'tests/primitives/test_utils.py')
-rw-r--r-- | tests/primitives/test_utils.py | 8 |
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!" |