aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAyrx <terrycwk1994@gmail.com>2014-02-12 18:38:28 +0800
committerAyrx <terrycwk1994@gmail.com>2014-02-21 11:13:35 +0800
commit18ca44bfef0fe2908d9da3b3008941325d04a971 (patch)
tree0736eb87fe57d0290069bbbc5e1eaae6345d3a7d /tests
parent00cc90018a61e702ec78a9f33161518797da3713 (diff)
downloadcryptography-18ca44bfef0fe2908d9da3b3008941325d04a971.tar.gz
cryptography-18ca44bfef0fe2908d9da3b3008941325d04a971.tar.bz2
cryptography-18ca44bfef0fe2908d9da3b3008941325d04a971.zip
Added documentation for HOTP implementation.
Diffstat (limited to 'tests')
-rw-r--r--tests/hazmat/oath/test_hotp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hazmat/oath/test_hotp.py b/tests/hazmat/oath/test_hotp.py
index 7df0d4db..d2d3c941 100644
--- a/tests/hazmat/oath/test_hotp.py
+++ b/tests/hazmat/oath/test_hotp.py
@@ -43,7 +43,7 @@ class TestHOTP(object):
assert hotp.generate(counter) == hotp_value
@pytest.mark.parametrize("params", vectors)
- def test_validate(self, backend, params):
+ def test_verify(self, backend, params):
secret = params["secret"]
counter = int(params["counter"])
hotp_value = params["hotp"]