class_docstr: Base class for integration tests.
class_docstr_tok: ["Base","class","for","integration","tests","."]
code: def _get_url(self) -> str:
      protocol = self._get_transfer_protocol()
      url = ""
      if protocol is not None and protocol.lower() == "https":
          url = "https://"
      else:
          url = "http://"
      url += "localhost:" + self._get_port()
      return url
  
imports: import coverage
  import http.client
  import os
  import platform
  import shutil
  import signal
  import subprocess
  import tabpy
  import tempfile
  import time
  import unittest
label_desc: Use image node_id 13 for calling the IntegTestBase obj's underlying member method code with example usage: obj._get_url() and returns: url