code: def test_oss_session_class():
      """OSSSession works"""
      oss_session = OSSSession(
          oss_access_key_id="foo",
          oss_secret_access_key="bar",
          oss_endpoint="null-island-1",
      )
      assert oss_session._creds
      assert (
          oss_session.get_credential_options()["OSS_ACCESS_KEY_ID"]
          == "foo"
      )
      assert (
          oss_session.get_credential_options()["OSS_SECRET_ACCESS_KEY"]
          == "bar"
      )
  
imports: from unittest import mock
  import pytest
  from rasterio.session import DummySession, AWSSession, Session, OSSSession, GSSession, SwiftSession, AzureSession, parse_bool
label_desc: Use image node_id 22 for calling a global function with example usage: test_oss_session_class() without return types