code: def test__load_weights(self):
      def check_gen_path(path):
          self.assertTrue(path == "gen")
  
      def check_discr_path(path):
          self.assertTrue(path == "discr")
  
      mockd_trainer = copy(self.trainer)
  
      mockd_trainer.pretrained_weights_path = {
          "generator": "gen",
          "discriminator": "discr",
      }
      mockd_trainer.discriminator.model.load_weights = Mock(
          side_effect=check_discr_path
      )
      mockd_trainer.model.get_layer("generator").load_weights = Mock(
          side_effect=check_gen_path
      )
      mockd_trainer._load_weights()
  
imports: import logging
  import os
  import shutil
  import unittest
  from copy import copy
  from pathlib import Path
  import yaml
  import numpy
  from unittest.mock import patch, Mock
  from ISR.models.cut_vgg19 import Cut_VGG19
  from ISR.models.discriminator import Discriminator
  from ISR.models.rrdn import RRDN
  from ISR.train.trainer import Trainer
label_desc: Use image node_id 11 for calling the TrainerClassTest obj's underlying member method code with example usage: obj.test__load_weights() without return types