aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/twofactor/test_totp.py
diff options
context:
space:
mode:
authorJiangge Zhang <tonyseek@gmail.com>2015-06-03 17:30:11 +0800
committerJiangge Zhang <tonyseek@gmail.com>2015-06-03 17:39:59 +0800
commitd4e0a839ef676a2ed05140f98ef3630deb0fdd61 (patch)
tree4786265848ce18dbda22f6daa3b3a28e6c48d561 /tests/hazmat/primitives/twofactor/test_totp.py
parente9f8eb9af0c4f42dd4e68ae05580f77dc352aaf4 (diff)
downloadcryptography-d4e0a839ef676a2ed05140f98ef3630deb0fdd61.tar.gz
cryptography-d4e0a839ef676a2ed05140f98ef3630deb0fdd61.tar.bz2
cryptography-d4e0a839ef676a2ed05140f98ef3630deb0fdd61.zip
Remove a default argument and rename a private function.
Diffstat (limited to 'tests/hazmat/primitives/twofactor/test_totp.py')
-rw-r--r--tests/hazmat/primitives/twofactor/test_totp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hazmat/primitives/twofactor/test_totp.py b/tests/hazmat/primitives/twofactor/test_totp.py
index cd841ba6..95829713 100644
--- a/tests/hazmat/primitives/twofactor/test_totp.py
+++ b/tests/hazmat/primitives/twofactor/test_totp.py
@@ -130,7 +130,7 @@ class TestTOTP(object):
secret = b"12345678901234567890"
totp = TOTP(secret, 6, hashes.SHA1(), 30, backend=backend)
- assert totp.get_provisioning_uri("Alice Smith") == (
+ assert totp.get_provisioning_uri("Alice Smith", None) == (
"otpauth://totp/Alice%20Smith?digits=6&secret=GEZDGNBVG"
"Y3TQOJQGEZDGNBVGY3TQOJQ&algorithm=SHA1&period=30")