code: def test_swift_session_class():
      """SwiftSession works"""
      swift_session = SwiftSession(
          swift_storage_url="foo",
          swift_auth_token="bar",
      )
      assert swift_session._creds
      assert (
          swift_session.get_credential_options()["SWIFT_STORAGE_URL"]
          == "foo"
      )
      assert (
          swift_session.get_credential_options()["SWIFT_AUTH_TOKEN"]
          == "bar"
      )
  
imports: from unittest import mock
  import pytest
  from fiona.session import DummySession, AWSSession, Session, OSSSession, GSSession, SwiftSession, AzureSession
label_desc: Use image node_id 24 for calling a global function with example usage: test_swift_session_class() without return types