code: def test_https_without_key(self):
      self.fp.write(
          "[TabPy]\n"
          "TABPY_TRANSFER_PROTOCOL = https\n"
          "TABPY_CERTIFICATE_FILE = foo"
      )
      self.fp.close()
  
      self.assertTabPyAppRaisesRuntimeError(
          "Error using HTTPS: The parameter(s) TABPY_KEY_FILE must be set."
      )
  
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 11 for calling the TestTransferProtocolValidation obj's underlying member method code with example usage: obj.test_https_without_key() without return types