code: def setUp(self):
      self.original_urls = se_mod.SE_NET_MODELS.copy()
      replace_url = test_is_quick()
      if not replace_url:
          try:
              SEResNet50(
                  pretrained=True,
                  spatial_dims=2,
                  in_channels=3,
                  num_classes=2,
              )
          except OSError as rt_e:
              print(rt_e)
              if "certificate" in str(
                  rt_e
              ):  # [SSL: CERTIFICATE_VERIFY_FAILED]
                  replace_url = True
      if replace_url:
          testing_dir = os.path.join(
              os.path.dirname(os.path.realpath(__file__)),
              "testing_data",
          )
          testing_data_urls = {
              "senet154": {
                  "url": testing_data_config(
                      "models", "senet154-c7b49a05", "url"
                  ),
                  "filename": "senet154-c7b49a05.pth",
              },
              "se_resnet50": {
                  "url": testing_data_config(
                      "models", "se_resnet50-ce0d4300", "url"
                  ),
                  "filename": "se_resnet50-ce0d4300.pth",
              },
              "se_resnet101": {
                  "url": testing_data_config(
                      "models", "se_resnet101-7e38fcc6", "url"
                  ),
                  "filename": "se_resnet101-7e38fcc6.pth",
              },
              "se_resnet152": {
                  "url": testing_data_config(
                      "models", "se_resnet152-d17c99b7", "url"
                  ),
                  "filename": "se_resnet152-d17c99b7.pth",
              },
              "se_resnext50_32x4d": {
                  "url": testing_data_config(
                      "models", "se_resnext50_32x4d-a260b3a4", "url"
                  ),
                  "filename": "se_resnext50_32x4d-a260b3a4.pth",
              },
              "se_resnext101_32x4d": {
                  "url": testing_data_config(
                      "models", "se_resnext101_32x4d-3b2fe3d8", "url"
                  ),
                  "filename": "se_resnext101_32x4d-3b2fe3d8.pth",
              },
          }
          for item in testing_data_urls:
              testing_data_urls[item]["filename"] = os.path.join(
                  testing_dir, testing_data_urls[item]["filename"]
              )
          se_mod.SE_NET_MODELS = testing_data_urls
  
imports: from __future__ import annotations
  import os
  import unittest
  from typing import TYPE_CHECKING
  from unittest import skipUnless
  import torch
  from parameterized import parameterized
  import monai.networks.nets.senet
  from monai.networks import eval_mode
  from monai.networks.nets import SENet, SENet154, SEResNet50, SEResNet101, SEResNet152, SEResNext50, SEResNext101
  from monai.utils import optional_import
  from tests.utils import test_is_quick, test_pretrained_networks, test_script_save, testing_data_config
label_desc: Use image node_id 1 for calling the TestPretrainedSENET obj's underlying member method code with example usage: obj.setUp() without return types