aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/twofactor/test_totp.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-04-14 21:15:36 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2015-04-14 21:15:36 -0400
commit27c750de99df6818b5bc0414dd7995fb514f5c28 (patch)
tree3da23585595b6defdcf290e680d71800ce166c64 /tests/hazmat/primitives/twofactor/test_totp.py
parent3bf44db428e98058e29cd5e7ddd97fd5baad3dee (diff)
parentd14dcc577ffc851eb32a2f77431f043fa5a7ce37 (diff)
downloadcryptography-27c750de99df6818b5bc0414dd7995fb514f5c28.tar.gz
cryptography-27c750de99df6818b5bc0414dd7995fb514f5c28.tar.bz2
cryptography-27c750de99df6818b5bc0414dd7995fb514f5c28.zip
Merge pull request #1848 from reaperhulk/invalid-token
Twofactor invalid token
Diffstat (limited to 'tests/hazmat/primitives/twofactor/test_totp.py')
-rw-r--r--tests/hazmat/primitives/twofactor/test_totp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/hazmat/primitives/twofactor/test_totp.py b/tests/hazmat/primitives/twofactor/test_totp.py
index 05321089..6039983e 100644
--- a/tests/hazmat/primitives/twofactor/test_totp.py
+++ b/tests/hazmat/primitives/twofactor/test_totp.py
@@ -6,9 +6,10 @@ from __future__ import absolute_import, division, print_function
import pytest
-from cryptography.exceptions import InvalidToken, _Reasons
+from cryptography.exceptions import _Reasons
from cryptography.hazmat.backends.interfaces import HMACBackend
from cryptography.hazmat.primitives import hashes
+from cryptography.hazmat.primitives.twofactor import InvalidToken
from cryptography.hazmat.primitives.twofactor.totp import TOTP
from ....utils import (