code: def test_sleep_successful(mock_post):
      utils.set_space_timeout("gradio/calculator")
  
imports: import importlib.resources
  import json
  import os
  import tempfile
  from copy import deepcopy
  from pathlib import Path
  from unittest.mock import MagicMock, patch
  import httpx
  import pytest
  from huggingface_hub import HfFolder
  from gradio_client import media_data, utils
label_desc: Use image node_id 10 for calling a global function with example usage: test_sleep_successful(mock_post) without return types