code: def test_session_factory_oss_kwargs():
      """Get an OSSSession for oss:// paths with keywords"""
      sesh = Session.from_path(
          "oss://lol/wut",
          oss_access_key_id="foo",
          oss_secret_access_key="bar",
      )
      assert isinstance(sesh, OSSSession)
      assert sesh.get_credential_options()["OSS_ACCESS_KEY_ID"] == "foo"
      assert (
          sesh.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 23 for calling a global function with example usage: test_session_factory_oss_kwargs() without return types