code: def before_each():
      for key in login.Keys:
          os.environ.pop(key.value, None)
      login.Auth().clear()
  
file_path: pytorch-lightning/tests/tests_app/utilities/test_login.py
imports: import os
  from unittest import mock
  import pytest
  import requests
  from lightning.app.utilities import login
label_desc: Use image node_id 1 for calling a global function with example usage: before_each() without return types