diff options
author | Terry Chia <terrycwk1994@gmail.com> | 2015-09-30 19:13:14 +0800 |
---|---|---|
committer | Terry Chia <terrycwk1994@gmail.com> | 2015-09-30 19:13:14 +0800 |
commit | 36a787ff216dff16e49c3cbc8895515588697337 (patch) | |
tree | ce9d712232c497c00c2131d60b7e6d4018528717 /tests | |
parent | 3d7f8d1d6cf268f5c0c482c8d1cce7ec773a7030 (diff) | |
download | cryptography-36a787ff216dff16e49c3cbc8895515588697337.tar.gz cryptography-36a787ff216dff16e49c3cbc8895515588697337.tar.bz2 cryptography-36a787ff216dff16e49c3cbc8895515588697337.zip |
Address comments.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_with_hypothesis.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_with_hypothesis.py b/tests/test_with_hypothesis.py index 31dfa04c..5a181216 100644 --- a/tests/test_with_hypothesis.py +++ b/tests/test_with_hypothesis.py @@ -1,3 +1,4 @@ +from hypothesis import given from hypothesis.strategies import binary import pytest @@ -8,7 +9,7 @@ from cryptography.fernet import Fernet hypothesis = pytest.importorskip("hypothesis") -@hypothesis.given(binary()) +@given(binary()) def test_fernet(data): f = Fernet(Fernet.generate_key()) ct = f.encrypt(data) |