code: def test_session_factory_az_kwargs():
      """Get an AzureSession for az:// paths with keywords"""
      sesh = Session.from_path(
          "az://lol/wut",
          azure_storage_account="foo",
          azure_storage_access_key="bar",
      )
      assert isinstance(sesh, AzureSession)
      assert (
          sesh.get_credential_options()["AZURE_STORAGE_ACCOUNT"]
          == "foo"
      )
      assert (
          sesh.get_credential_options()["AZURE_STORAGE_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 35 for calling a global function with example usage: test_session_factory_az_kwargs() without return types