commit | 36a787ff216dff16e49c3cbc8895515588697337 | [log] [tgz] |
---|---|---|
author | Terry Chia <terrycwk1994@gmail.com> | Wed Sep 30 19:13:14 2015 +0800 |
committer | Terry Chia <terrycwk1994@gmail.com> | Wed Sep 30 19:13:14 2015 +0800 |
tree | ce9d712232c497c00c2131d60b7e6d4018528717 | |
parent | 3d7f8d1d6cf268f5c0c482c8d1cce7ec773a7030 [diff] [blame] |
Address comments.
diff --git a/tests/test_with_hypothesis.py b/tests/test_with_hypothesis.py index 31dfa04..5a18121 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 @@ hypothesis = pytest.importorskip("hypothesis") -@hypothesis.given(binary()) +@given(binary()) def test_fernet(data): f = Fernet(Fernet.generate_key()) ct = f.encrypt(data)