a few small fixes

This commit is contained in:
Paul Kehrer 2014-03-19 12:37:17 -04:00
parent afc1ccdcc8
commit 90450f3626
4 changed files with 6 additions and 2 deletions

View file

@ -14,6 +14,7 @@
from __future__ import absolute_import, division, print_function
import pytest
import six
from cryptography.exceptions import (

View file

@ -21,7 +21,8 @@ from cryptography.exceptions import InvalidToken, UnsupportedInterface
from cryptography.hazmat.primitives import hashes
from cryptography.hazmat.primitives.hashes import MD5, SHA1
from cryptography.hazmat.primitives.twofactor.hotp import HOTP
from tests.utils import load_nist_vectors, load_vectors_from_file
from ....utils import load_nist_vectors, load_vectors_from_file
vectors = load_vectors_from_file(
"twofactor/rfc-4226.txt", load_nist_vectors)

View file

@ -18,7 +18,8 @@ import pytest
from cryptography.exceptions import InvalidToken, UnsupportedInterface
from cryptography.hazmat.primitives import hashes
from cryptography.hazmat.primitives.twofactor.totp import TOTP
from tests.utils import load_nist_vectors, load_vectors_from_file
from ....utils import load_nist_vectors, load_vectors_from_file
vectors = load_vectors_from_file(
"twofactor/rfc-6238.txt", load_nist_vectors)

View file

@ -17,6 +17,7 @@ import collections
import os
import pytest
import six