Marcin Kuzminski committed 32e3fc7

pep8 utils

  • Participants
  • Parent commits bc7ff25

Comments (0)

Files changed (1)

File vcs/tests/

 from subprocess import Popen
 class VCSTestError(Exception):
 def run_command(cmd, args):
     Runs command on the system with given ``args``.
     status = os.waitpid(, 0)[1]
     return status
 def eprint(msg):
     Prints given ``msg`` into sys.stderr as nose test runner hides all output
 class SCMFetcher(object):
     def __init__(self, alias, test_repo_path, remote_repo, clone_cmd):
         eprint("Fetching repository %s into %s" % (remote, self.test_repo_path))
         run_command(self.clone_cmd,  '%s %s' % (remote, self.test_repo_path))
 def get_normalized_path(path):
     If given path exists, new path would be generated and returned. Otherwise