aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bindings/test_openssl.py
diff options
context:
space:
mode:
authorHynek Schlawack <hs@ox.cx>2013-08-08 08:40:47 +0200
committerHynek Schlawack <hs@ox.cx>2013-08-08 08:40:47 +0200
commit196515a866d6582fbb4666cc1b78625d31c4f53c (patch)
tree2af9e38901974693bac553ec9cb6a57802403f3f /tests/bindings/test_openssl.py
parent3562d05f7b6084e6c4de5ba547d0f5e03a349e1b (diff)
downloadcryptography-196515a866d6582fbb4666cc1b78625d31c4f53c.tar.gz
cryptography-196515a866d6582fbb4666cc1b78625d31c4f53c.tar.bz2
cryptography-196515a866d6582fbb4666cc1b78625d31c4f53c.zip
Refactor into latest design decision
C is an implementation detail of the wrapper API, so we go with 'bindings'. Also create/fix some namespaces.
Diffstat (limited to 'tests/bindings/test_openssl.py')
-rw-r--r--tests/bindings/test_openssl.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/bindings/test_openssl.py b/tests/bindings/test_openssl.py
new file mode 100644
index 00000000..9d637222
--- /dev/null
+++ b/tests/bindings/test_openssl.py
@@ -0,0 +1,19 @@
+# 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.
+
+from cryptography.bindings.openssl import api
+
+
+class TestOpenSSL(object):
+ def test_api_exists(self):
+ assert api