aboutsummaryrefslogtreecommitdiffstats
path: root/tests/conftest.py
diff options
context:
space:
mode:
authorDonald Stufft <donald@stufft.io>2013-10-03 11:26:42 -0700
committerDonald Stufft <donald@stufft.io>2013-10-03 11:26:42 -0700
commit0f96716946c80fbaa2bab7813746baaba017f08d (patch)
tree9ebbf38b4779b64effec121a6d562c543b613e8b /tests/conftest.py
parent14fdcd186c9f6c7ccc1e6388347cd584822bc041 (diff)
parent81a5287984cd31080f7a5a1b249caf626ac8f6bf (diff)
downloadcryptography-0f96716946c80fbaa2bab7813746baaba017f08d.tar.gz
cryptography-0f96716946c80fbaa2bab7813746baaba017f08d.tar.bz2
cryptography-0f96716946c80fbaa2bab7813746baaba017f08d.zip
Merge pull request #85 from alex/explicit-api
Explicitly pass around the API, and run all tests under all available AP...
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
new file mode 100644
index 00000000..d16be3b6
--- /dev/null
+++ b/tests/conftest.py
@@ -0,0 +1,5 @@
+def pytest_generate_tests(metafunc):
+ from cryptography.bindings.openssl import api
+
+ if "api" in metafunc.fixturenames:
+ metafunc.parametrize("api", [api])