code: def test_https_without_cert_and_key(self):
      self.fp.write("[TabPy]\n" "TABPY_TRANSFER_PROTOCOL = https")
      self.fp.close()
  
      self.assertTabPyAppRaisesRuntimeError(
          "Error using HTTPS: The paramete"
          "r(s) TABPY_CERTIFICATE_FILE and"
          " 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 9 for calling the TestTransferProtocolValidation obj's underlying member method code with example usage: obj.test_https_without_cert_and_key() without return types