PyOTP 2.5.0__tar.gz → 2.5.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyotp-2.5.0/src/pyotp.egg-info → pyotp-2.5.1}/PKG-INFO +1 -1
- {pyotp-2.5.0 → pyotp-2.5.1}/setup.py +1 -1
- {pyotp-2.5.0 → pyotp-2.5.1}/src/pyotp/__init__.py +1 -1
- {pyotp-2.5.0 → pyotp-2.5.1/src/pyotp.egg-info}/PKG-INFO +1 -1
- {pyotp-2.5.0 → pyotp-2.5.1}/test.py +4 -0
- {pyotp-2.5.0 → pyotp-2.5.1}/LICENSE +0 -0
- {pyotp-2.5.0 → pyotp-2.5.1}/MANIFEST.in +0 -0
- {pyotp-2.5.0 → pyotp-2.5.1}/README.rst +0 -0
- {pyotp-2.5.0 → pyotp-2.5.1}/requirements.txt +0 -0
- {pyotp-2.5.0 → pyotp-2.5.1}/setup.cfg +0 -0
- {pyotp-2.5.0 → pyotp-2.5.1}/src/pyotp/compat.py +0 -0
- {pyotp-2.5.0 → pyotp-2.5.1}/src/pyotp/hotp.py +0 -0
- {pyotp-2.5.0 → pyotp-2.5.1}/src/pyotp/otp.py +0 -0
- {pyotp-2.5.0 → pyotp-2.5.1}/src/pyotp/py.typed +0 -0
- {pyotp-2.5.0 → pyotp-2.5.1}/src/pyotp/totp.py +0 -0
- {pyotp-2.5.0 → pyotp-2.5.1}/src/pyotp/utils.py +0 -0
- {pyotp-2.5.0 → pyotp-2.5.1}/src/pyotp.egg-info/SOURCES.txt +0 -0
- {pyotp-2.5.0 → pyotp-2.5.1}/src/pyotp.egg-info/dependency_links.txt +0 -0
- {pyotp-2.5.0 → pyotp-2.5.1}/src/pyotp.egg-info/not-zip-safe +0 -0
- {pyotp-2.5.0 → pyotp-2.5.1}/src/pyotp.egg-info/top_level.txt +0 -0
|
@@ -417,6 +417,10 @@ class ParseUriTest(unittest.TestCase):
|
|
|
417
417
|
with self.assertRaises(ValueError):
|
|
418
418
|
otp.provisioning_uri(name='n', issuer_name='i', image='nourl')
|
|
419
419
|
|
|
420
|
+
otp = pyotp.parse_uri(otp.provisioning_uri(name='n', issuer_name='i', image='https://test.net/test.png'))
|
|
421
|
+
self.assertEqual(hashlib.sha512, otp.digest)
|
|
422
|
+
|
|
423
|
+
|
|
420
424
|
class Timecop(object):
|
|
421
425
|
"""
|
|
422
426
|
Half-assed clone of timecop.rb, just enough to pass our tests.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|