def test_git_match(self):
    self.gitsha = get_git_sha(self.directory)
    if (self.gitsha != self.commit):
        logging.error("gitsha on disk doesn't match config")
        exit(1)
    else:
        logging.info('git pass')
def test_git_match(self):
    self.gitsha = get_git_sha(self.directory)
    if (self.gitsha != self.commit):
        logging.error("gitsha on disk doesn't match config")
        exit(1)
    else:
        logging.info('git pass')