code: def setup_class(self):
      self.temp_dir = tempfile.mkdtemp(dir=test_datmo_dir)
      self.execpath = "datmo"
      os.chdir(self.temp_dir)
  
      # Create environment_driver definition
      self.env_def_path = os.path.join(self.temp_dir, "Dockerfile")
      with open(self.env_def_path, "wb") as f:
          f.write(to_bytes("FROM python:3.5-alpine"))
  
      # Create config file
      self.config_filepath = os.path.join(self.temp_dir, "config.json")
      with open(self.config_filepath, "wb") as f:
          f.write(to_bytes(str("{}")))
  
      # Create stats file
      self.stats_filepath = os.path.join(self.temp_dir, "stats.json")
      with open(self.stats_filepath, "wb") as f:
          f.write(to_bytes(str("{}")))
  
      # Create test file
      self.filepath = os.path.join(self.temp_dir, "file.txt")
      with open(self.filepath, "wb") as f:
          f.write(to_bytes(str("test")))
  
      # Create script file
      self.script_filepath = os.path.join(self.temp_dir, "script.py")
      with open(self.script_filepath, "wb") as f:
          f.write(to_bytes(str('print("hello")')))
  
file_path: datmo/datmo/cli/tests/test_main.py
imports: import os
  import tempfile
  import platform
  import subprocess
  from datmo.core.util.misc_functions import pytest_docker_environment_failed_instantiation
label_desc: Use image node_id 1 for calling the TestMain obj's underlying member method code with example usage: obj.setup_class() without return types