code: def test_send_status_request_network(
      user,
      relay_server,
      inject_graphql_response,
      mock_run,
      backend_interface,
  ):
      inject_response = inject_graphql_response(
          body=json.dumps({"error": "rate limit exceeded"}),
          status=429,
          query_match_fn=lambda query, _: "mutation UpsertBucket"
          in query,
          application_pattern="11112",  # apply 4 times and stop
      )
  
      run = mock_run(use_magic_mock=True)
      with unittest.mock.patch.object(
          wandb.sdk.lib.retry.Retry, "MAX_SLEEP_SECONDS", 1e-2
      ):
          with relay_server(
              inject=[inject_response]
          ), backend_interface(run) as interface:
              result = interface.deliver_network_status().wait(
                  timeout=5
              )
              assert result is not None
              network = result.response.network_status_response
              assert len(network.network_responses) > 0
              assert (
                  network.network_responses[0].http_status_code == 429
              )
  
imports: import json
  import os
  import shutil
  import threading
  import time
  import unittest.mock
  import pytest
  import wandb
  from wandb.errors import CommError
  from wandb.proto import wandb_internal_pb2
  from wandb.sdk.interface.interface import InterfaceBase
  from wandb.sdk.lib import filesystem
label_desc: Use image node_id 28 for calling a global function with example usage: test_send_status_request_network(user, relay_server, inject_graphql_response, mock_run, backend_interface) without return types