commit | 56bcade581e68ad0dd82dbabe97c75a9f0701fed | [log] [tgz] |
---|---|---|
author | Alex Gaynor <alex.gaynor@gmail.com> | Fri Nov 22 10:15:14 2013 -0800 |
committer | Alex Gaynor <alex.gaynor@gmail.com> | Fri Nov 22 10:15:14 2013 -0800 |
tree | cb8f7d62d360122bef3928dc517ba54a2e9f94d0 | |
parent | 1d2901cae193cb965480835aaf96696f8eecfaab [diff] [blame] |
fix, technically
diff --git a/tests/test_fernet.py b/tests/test_fernet.py index c1caaa0..8759229 100644 --- a/tests/test_fernet.py +++ b/tests/test_fernet.py
@@ -68,7 +68,7 @@ f.decrypt(token.encode("ascii"), ttl=ttl_sec) def test_unicode(self): - f = Fernet(base64.b64encode(b"\x00" * 32)) + f = Fernet(base64.urlsafe_b64encode(b"\x00" * 32)) with pytest.raises(TypeError): f.encrypt(six.u("")) with pytest.raises(TypeError):