From 36a787ff216dff16e49c3cbc8895515588697337 Mon Sep 17 00:00:00 2001 From: Terry Chia Date: Wed, 30 Sep 2015 19:13:14 +0800 Subject: Address comments. --- tests/test_with_hypothesis.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') 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) -- cgit v1.2.3