diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-08-01 14:16:00 +0100 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-08-01 14:21:31 +0100 |
commit | ed07bbc76da5c582fa7449321759ad0598b6e20c (patch) | |
tree | f858adb01823d689b96bb7298ebd9db1fbfb6908 /tests/hazmat/primitives | |
parent | 172d6846d78e34c005d2c679cf53dd79a3e54d8e (diff) | |
download | cryptography-ed07bbc76da5c582fa7449321759ad0598b6e20c.tar.gz cryptography-ed07bbc76da5c582fa7449321759ad0598b6e20c.tar.bz2 cryptography-ed07bbc76da5c582fa7449321759ad0598b6e20c.zip |
move urandom engine test
This test was in the bindings dir, which is incorrect. We do not set
the urandom engine to default unless the openssl backend is loaded. The
reason the test wasn't failing (even in the random test case) is that
the backends are loaded during pytest_generate_tests by a call to
_available_backends. So no matter what order it occurred in the engine
was already set to default. I discovered this when I tried to run the
test_openssl.py bindings tests directly via pytest. Hooray global state.
Diffstat (limited to 'tests/hazmat/primitives')
0 files changed, 0 insertions, 0 deletions