We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9587eec commit 8c5acfcCopy full SHA for 8c5acfc
service/tests/basic_test.py
@@ -257,6 +257,8 @@ def mfa_token(tokencode=None):
257
if tokencode is None:
258
tokencode = MFA_GEN_CODE
259
print(f'DEBUG:: generating MFA token with tokencode: {tokencode}')
260
+ if tokencode is None:
261
+ print(f'ERROR! tokencode should not be None! Env: {os.environ.items()}')
262
totp = pyotp.TOTP(tokencode)
263
return totp.now()
264
0 commit comments