class_docstr: Checks all functions of the GitCodeDriver
class_docstr_tok: ["Checks","all","functions","of","the","GitCodeDriver"]
code: def setup_method(self):
      # provide mountable tmp directory for docker
      tempfile.tempdir = (
          "/tmp" if not platform.system() == "Windows" else None
      )
      test_datmo_dir = os.environ.get(
          "TEST_DATMO_DIR", tempfile.gettempdir()
      )
      self.temp_dir = tempfile.mkdtemp(dir=test_datmo_dir)
      self.git_code_manager = GitCodeDriver(
          filepath=self.temp_dir, execpath="git"
      )
  
imports: from __future__ import division
  from __future__ import unicode_literals
  import os
  import time
  import shutil
  import tempfile
  import platform
  from io import open
  from datmo.core.controller.code.driver.git import GitCodeDriver, GitHostDriver
  from datmo.core.util.exceptions import CommitFailed, CommitDoesNotExist, PathDoesNotExist, GitExecutionError, DatmoFolderInWorkTree, UnstagedChanges
label_desc: Use image node_id 1 for calling the TestGitCodeDriver obj's underlying member method code with example usage: obj.setup_method() without return types