code: def test_session_factory_s3():
      """Get an AWSSession for s3:// paths"""
      pytest.importorskip("boto3")
      sesh = Session.from_path("s3://lol/wut")
      assert isinstance(sesh, AWSSession)
  
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 15 for calling a global function with example usage: test_session_factory_s3() without return types