def test_setup_cleanup(self): path = "ko" try: ab.setup(path) ab.cleanup(path) except Exception: self.fail("setup(path) raised ExceptionType unexpectedly!")
def test_clone(self): if not self.test_clone: return local_repo = "repo" repo_name = "Dynamo" git_repo_path_https = "https://github.com/ikeough/Dynamo.git" try: ab.clone(git_repo_path_https, local_repo, repo_name) ab.cleanup(ab.form_path(local_repo, repo_name)) except Exception: self.fail("clone raised ExceptionType unexpectedly!")