code: def test_properties_models_download():
      # Arrange
      model_name = "SkolkovoInstitute/roberta_toxicity_classifier"
      model_path = MODELS_STORAGE / str(uuid.uuid4()) / model_name
  
      # Act
      model_download_time = timeit.timeit(
          stmt="fn()",
          number=1,
          globals={
              "fn": lambda: _get_transformer_model_and_tokenizer(
                  property_name="",
                  model_name=model_name,
                  models_storage=model_path,
                  use_onnx_model=False,
              )
          },
      )
  
      # Assert
      assert MODELS_STORAGE.exists() and MODELS_STORAGE.is_dir()
      assert model_path.exists() and model_path.is_dir()
  
      # Act
      model_creation_time = timeit.timeit(
          stmt="fn()",
          number=1,
          globals={
              "fn": lambda: _get_transformer_model_and_tokenizer(
                  property_name="",
                  model_name=model_name,
                  models_storage=model_path,
                  use_onnx_model=False,
              )
          },
      )
  
      # Assert
      assert model_creation_time <= model_download_time * 0.1
  
imports: import os
  import pathlib
  import timeit
  import uuid
  import numpy
  import pytest
  from hamcrest import *
  from deepchecks.core.errors import DeepchecksValueError
  from deepchecks.nlp.utils.text_properties import TOXICITY_MODEL_NAME_ONNX, _sample_for_property, calculate_builtin_properties, english_text
  from deepchecks.nlp.utils.text_properties_models import MODELS_STORAGE, _get_transformer_model_and_tokenizer
label_desc: Use image node_id 25 for calling a global function with example usage: test_properties_models_download() without return types