diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-01-04 13:32:56 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-01-09 11:53:48 -0600 |
commit | cc4a42dbc56974c10bf8dc0aca67ab29cccd2f77 (patch) | |
tree | a40903975f028c860670a4e331542e6728f111f7 /tests/hazmat/bindings | |
parent | 1f15f890a397e2b1c5d258a5c30d88e76667e42f (diff) | |
download | cryptography-cc4a42dbc56974c10bf8dc0aca67ab29cccd2f77.tar.gz cryptography-cc4a42dbc56974c10bf8dc0aca67ab29cccd2f77.tar.bz2 cryptography-cc4a42dbc56974c10bf8dc0aca67ab29cccd2f77.zip |
Add initial CommonCrypto bindings (no backend yet)
Diffstat (limited to 'tests/hazmat/bindings')
-rw-r--r-- | tests/hazmat/bindings/test_commoncrypto.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/hazmat/bindings/test_commoncrypto.py b/tests/hazmat/bindings/test_commoncrypto.py new file mode 100644 index 00000000..385eeeb6 --- /dev/null +++ b/tests/hazmat/bindings/test_commoncrypto.py @@ -0,0 +1,25 @@ +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import pytest + +from cryptography.hazmat.bindings.commoncrypto.binding import Binding + + +@pytest.mark.commoncrypto +class TestCommonCrypto(object): + def test_binding_loads(self): + binding = Binding() + assert binding + assert binding.lib + assert binding.ffi |