class_docstr: Base class for integration tests.
class_docstr_tok: ["Base","class","for","integration","tests","."]
code: def deploy_models(self, username: str, password: str):
      repo_dir = os.path.abspath(os.path.dirname(tabpy.__file__))
      path = os.path.join(repo_dir, "models", "deploy_models.py")
      with open(
          self.tmp_dir + "/deploy_models_output.txt", "w"
      ) as outfile:
          outfile.write(
              f"--<< Running {self.py} {path} "
              f"{self._get_config_file_name()} >>--\n"
          )
          input_string = f"{username}\n{password}\n"
          outfile.write(f"--<< Input = {input_string} >>--")
          coverage.process_startup()
          subprocess.run(
              [self.py, path, self._get_config_file_name()],
              input=input_string.encode("utf-8"),
              stdout=outfile,
              stderr=outfile,
          )
  
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 17 for calling the IntegTestBase obj's underlying member method code with example usage: obj.deploy_models(username, password) without return types