tests for login_callback

This commit is contained in:
David Kennedy 2024-02-09 15:28:03 -05:00
parent 6820456286
commit 9dff75d392
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B
2 changed files with 55 additions and 5 deletions

View file

@ -27,11 +27,13 @@ def _initialize_client():
CLIENT = Client(OP)
logger.debug("Client initialized: %s" % CLIENT)
def _client_is_none():
""" Return if the CLIENT is currently None."""
"""Return if the CLIENT is currently None."""
global CLIENT
return CLIENT is None
# Initialize CLIENT
try:
_initialize_client()