code: def test_push_to_hub(
      multi_qa_model: SentenceTransformer,
      repo_name: str,
      user: str,
      cleanup_repo: None,
  ) -> None:
      multi_qa_model.save_to_hub(repo_name, organization=user)
  
      # Sleep to ensure that model_info isn't called too soon
      time.sleep(1)
  
      # Check model has been pushed properly
      model_id = f"{user}/{repo_name}"
      assert (
          model_info(model_id).library_name == "sentence-transformers"
      )
  
file_path: huggingface_hub/contrib/sentence_transformers/test_sentence_transformers.py
imports: import time
  import pytest
  from sentence_transformers import SentenceTransformer, util
  from huggingface_hub import model_info
  from ..utils import production_endpoint
label_desc: Use image node_id 3 for calling a global function with example usage: test_push_to_hub(multi_qa_model, repo_name, user, cleanup_repo) without return types