code: def test_s3_client_without_cloud_space_id(monkeypatch):
      boto3 = mock.MagicMock()
      monkeypatch.setattr(client, "boto3", boto3)
  
      botocore = mock.MagicMock()
      monkeypatch.setattr(client, "botocore", botocore)
  
      s3 = client.S3Client(1)
      assert s3.client
      assert s3.client
      assert s3.client
      assert s3.client
      assert s3.client
  
      boto3.client.assert_called_once()
  
imports: import sys
  from time import sleep, time
  from unittest import mock
  import pytest
  from lightning.data.streaming import client
label_desc: Use image node_id 1 for calling a global function with example usage: test_s3_client_without_cloud_space_id(monkeypatch) without return types