code: def test_weights_saving(self):
      self.TH.callback_paths = self.TH._make_callback_paths()
      self.TH.weights_name = self.TH._weights_name(
          self.TH.callback_paths
      )
      Path(
          "tests/temporary_test_data/weights/rrdn-C2-D3-G20-G020-T2-x2/0000/"
      ).mkdir(parents=True)
      self.TH._save_weights(
          1, self.TH.generator.model, self.TH.discriminator, best=False
      )
  
      assert Path(
          "./tests/temporary_test_data/weights/rrdn-C2-D3-G20-G020-T2-x2/0000/rrdn-C2-D3-G20-G020-T2-x2_epoch002.hdf5"
      ).exists()
      assert Path(
          "./tests/temporary_test_data/weights/rrdn-C2-D3-G20-G020-T2-x2/0000/srgan-large_epoch002.hdf5"
      ).exists()
  
imports: import unittest
  import shutil
  import yaml
  from pathlib import Path
  from unittest.mock import patch
  from ISR.utils.train_helper import TrainerHelper
  from ISR.models.rrdn import RRDN
  from ISR.models.discriminator import Discriminator
  from ISR.models.cut_vgg19 import Cut_VGG19
label_desc: Use image node_id 11 for calling the UtilsClassTest obj's underlying member method code with example usage: obj.test_weights_saving() without return types