code: def test_gh_deploy_strict(
      self, mock_gh_deploy, mock_build, mock_load_config
  ):
      result = self.runner.invoke(
          cli.cli, ["gh-deploy", "--strict"], catch_exceptions=False
      )
  
      self.assertEqual(result.exit_code, 0)
      self.assertEqual(mock_gh_deploy.call_count, 1)
      self.assertEqual(mock_build.call_count, 1)
      mock_load_config.assert_called_once_with(
          remote_branch=None,
          remote_name=None,
          config_file=None,
          strict=True,
          theme=None,
          use_directory_urls=None,
          site_dir=None,
      )
  
imports: import io
  import logging
  import unittest
  from unittest import mock
  from click.testing import CliRunner
  from mkdocs import __main__
label_desc: Use image node_id 34 for calling the CLITests obj's underlying member method code with example usage: obj.test_gh_deploy_strict(mock_gh_deploy, mock_build, mock_load_config) without return types