class_docstr: Checks all functions of the GitCodeDriver
class_docstr_tok: ["Checks","all","functions","of","the","GitCodeDriver"]
code: def test_parse_git_url(self):
      parsed = self.git_code_manager._parse_git_url(
          "https://github.com/datmo/hello-world.git", mode="ssh"
      )
      assert parsed == "git@github.com:datmo/hello-world.git"
      parsed = self.git_code_manager._parse_git_url(
          "https://github.com/datmo/hello-world.git", mode="https"
      )
      assert parsed == "https://github.com/datmo/hello-world.git"
      parsed = self.git_code_manager._parse_git_url(
          "https://github.com/datmo/hello-world.git", mode="http"
      )
      assert parsed == "http://github.com/datmo/hello-world.git"
      # git@github.com:gitpython-developers/GitPython.git
      # https://github.com/gitpython-developers/GitPython.git
      parsed = self.git_code_manager._parse_git_url(
          "git://github.com/datmo/hello-world.git", mode="ssh"
      )
      assert parsed == "git@github.com:datmo/hello-world.git"
      parsed = self.git_code_manager._parse_git_url(
          "git://github.com/datmo/hello-world.git", mode="https"
      )
      assert parsed == "https://github.com/datmo/hello-world.git"
      parsed = self.git_code_manager._parse_git_url(
          "git://github.com/datmo/hello-world.git", mode="http"
      )
      assert parsed == "http://github.com/datmo/hello-world.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 22 for calling the TestGitCodeDriver obj's underlying member method code with example usage: obj.test_parse_git_url() without return types