class_docstr: Credentials Class Unittest class.
docstr: Test Credentials.load().
code: def test_Credentials_load(self):
      """Test Credentials.load()."""
      data = textwrap.dedent(
          """
              [general]
              email = "user@domain.com"
          """
      ).strip()
      m = mock_open(read_data=data)
      with patch("streamlit.runtime.credentials.open", m, create=True):
          c = Credentials.get_current()
          c.load()
          self.assertEqual("user@domain.com", c.activation.email)
  
imports: import os
  import textwrap
  import unittest
  from pathlib import Path
  from unittest.mock import MagicMock, call, mock_open, patch
  import pytest
  import requests_mock
  from testfixtures import tempdir
  from streamlit import file_util
  from streamlit.runtime.credentials import Credentials, _Activation, _verify_email, email_prompt
label_desc: Use image node_id 6 for calling the CredentialsClassTest obj's underlying member method code with example usage: obj.test_Credentials_load() without return types