code: def test_https_success(self, mock_isfile, mock_validate_cert):
      self.fp.write(
          "[TabPy]\n"
          "TABPY_TRANSFER_PROTOCOL = HtTpS\n"
          "TABPY_CERTIFICATE_FILE = foo\n"
          "TABPY_KEY_FILE = bar"
      )
      self.fp.close()
  
      app = TabPyApp(self.fp.name)
  
      self.assertEqual(app.settings["transfer_protocol"], "https")
      self.assertEqual(app.settings["certificate_file"], "foo")
      self.assertEqual(app.settings["key_file"], "bar")
  
imports: import os
  import unittest
  from tempfile import NamedTemporaryFile
  import tabpy
  from tabpy.tabpy_server.app.util import validate_cert
  from tabpy.tabpy_server.app.app import TabPyApp
  from unittest.mock import patch
label_desc: Use image node_id 15 for calling the TestTransferProtocolValidation obj's underlying member method code with example usage: obj.test_https_success(mock_isfile, mock_validate_cert) without return types