commit | 814efab2a71a869d362c0b488b6c51bb590f0d23 | [log] [tgz] |
---|---|---|
author | Alex Gaynor <alex.gaynor@gmail.com> | Thu Oct 03 09:24:58 2013 -0700 |
committer | Alex Gaynor <alex.gaynor@gmail.com> | Thu Oct 03 09:24:58 2013 -0700 |
tree | ecb2eefd8b37a8ee2135130a720ca8134cafea52 | |
parent | 14fdcd186c9f6c7ccc1e6388347cd584822bc041 [diff] [blame] |
Explicitly pass around the API, and run all tests under all available APIs
diff --git a/tests/conftest.py b/tests/conftest.py new file mode 100644 index 0000000..d16be3b --- /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])