#  tests for cryptography-2.9.2-py37h3ca606c_1 (this is a generated file);
print('===== testing package: cryptography-2.9.2-py37h3ca606c_1 =====');
print('running run_test.py');
#  --- run_test.py (begin) ---
import sys

if sys.version_info[0] == 2:
    import cryptography.hazmat.bindings._constant_time
    import cryptography.hazmat.bindings._openssl
    import cryptography.hazmat.bindings._padding


from cryptography.fernet import Fernet

key = Fernet.generate_key()
f = Fernet(key)
token = f.encrypt(b"A really secret message. Not for prying eyes.")
res = f.decrypt(token)
assert res == b'A really secret message. Not for prying eyes.'
#  --- run_test.py (end) ---

print('===== cryptography-2.9.2-py37h3ca606c_1 OK =====');
print("import: 'cryptography'")
import cryptography

print("import: 'cryptography.fernet'")
import cryptography.fernet

