aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/twofactor/test_totp.py
diff options
context:
space:
mode:
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")